mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 13:54:38 +02:00
8057750: CTW should not make MH intrinsics not entrant
Do not make MH intrinsics not entrant in CTW Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
e285f3eadc
commit
b91254ea6a
1 changed files with 2 additions and 2 deletions
|
@ -1521,7 +1521,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
|
||||||
if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) {
|
if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) {
|
||||||
// Clobber the first compile and force second tier compilation
|
// Clobber the first compile and force second tier compilation
|
||||||
nmethod* nm = m->code();
|
nmethod* nm = m->code();
|
||||||
if (nm != NULL) {
|
if (nm != NULL && !m->is_method_handle_intrinsic()) {
|
||||||
// Throw out the code so that the code cache doesn't fill up
|
// Throw out the code so that the code cache doesn't fill up
|
||||||
nm->make_not_entrant();
|
nm->make_not_entrant();
|
||||||
m->clear_code();
|
m->clear_code();
|
||||||
|
@ -1540,7 +1540,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
|
||||||
}
|
}
|
||||||
|
|
||||||
nmethod* nm = m->code();
|
nmethod* nm = m->code();
|
||||||
if (nm != NULL) {
|
if (nm != NULL && !m->is_method_handle_intrinsic()) {
|
||||||
// Throw out the code so that the code cache doesn't fill up
|
// Throw out the code so that the code cache doesn't fill up
|
||||||
nm->make_not_entrant();
|
nm->make_not_entrant();
|
||||||
m->clear_code();
|
m->clear_code();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue