src/share/vm/classfile/classLoader.cpp

changeset 8717
77d9c9da7188
parent 8184
f46ffa934a46
child 8856
ac27a9c85bea
child 9858
b985cbb00e68
equal deleted inserted replaced
8716:619700f41f8e 8717:77d9c9da7188
1625 // Clobber the first compile and force second tier compilation 1625 // Clobber the first compile and force second tier compilation
1626 nmethod* nm = m->code(); 1626 nmethod* nm = m->code();
1627 if (nm != NULL && !m->is_method_handle_intrinsic()) { 1627 if (nm != NULL && !m->is_method_handle_intrinsic()) {
1628 // Throw out the code so that the code cache doesn't fill up 1628 // Throw out the code so that the code cache doesn't fill up
1629 nm->make_not_entrant(); 1629 nm->make_not_entrant();
1630 m->clear_code();
1631 } 1630 }
1632 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, 1631 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization,
1633 methodHandle(), 0, "CTW", THREAD); 1632 methodHandle(), 0, "CTW", THREAD);
1634 if (HAS_PENDING_EXCEPTION) { 1633 if (HAS_PENDING_EXCEPTION) {
1635 clear_pending_exception_if_not_oom(CHECK); 1634 clear_pending_exception_if_not_oom(CHECK);
1644 1643
1645 nmethod* nm = m->code(); 1644 nmethod* nm = m->code();
1646 if (nm != NULL && !m->is_method_handle_intrinsic()) { 1645 if (nm != NULL && !m->is_method_handle_intrinsic()) {
1647 // Throw out the code so that the code cache doesn't fill up 1646 // Throw out the code so that the code cache doesn't fill up
1648 nm->make_not_entrant(); 1647 nm->make_not_entrant();
1649 m->clear_code();
1650 } 1648 }
1651 } 1649 }
1652 } 1650 }
1653 } 1651 }
1654 } 1652 }

mercurial