--- old/src/share/vm/classfile/classLoader.cpp 2014-09-07 22:58:11.000000000 -0700 +++ new/src/share/vm/classfile/classLoader.cpp 2014-09-07 22:58:11.000000000 -0700 @@ -1521,7 +1521,7 @@ if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) { // Clobber the first compile and force second tier compilation 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 nm->make_not_entrant(); m->clear_code(); @@ -1540,7 +1540,7 @@ } 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 nm->make_not_entrant(); m->clear_code();