src/share/vm/classfile/classLoader.cpp

changeset 7242
f0bedf980c65
parent 7241
8cb56c8cb30d
parent 7147
2e6106d44079
child 7322
4cb90023bf2b
     1.1 --- a/src/share/vm/classfile/classLoader.cpp	Mon Sep 15 16:39:00 2014 -0400
     1.2 +++ b/src/share/vm/classfile/classLoader.cpp	Tue Sep 16 13:55:38 2014 -0700
     1.3 @@ -1618,7 +1618,7 @@
     1.4                if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) {
     1.5                  // Clobber the first compile and force second tier compilation
     1.6                  nmethod* nm = m->code();
     1.7 -                if (nm != NULL) {
     1.8 +                if (nm != NULL && !m->is_method_handle_intrinsic()) {
     1.9                    // Throw out the code so that the code cache doesn't fill up
    1.10                    nm->make_not_entrant();
    1.11                    m->clear_code();
    1.12 @@ -1637,7 +1637,7 @@
    1.13              }
    1.14  
    1.15              nmethod* nm = m->code();
    1.16 -            if (nm != NULL) {
    1.17 +            if (nm != NULL && !m->is_method_handle_intrinsic()) {
    1.18                // Throw out the code so that the code cache doesn't fill up
    1.19                nm->make_not_entrant();
    1.20                m->clear_code();

mercurial