diff src/share/vm/classfile/classLoader.cpp @ 20528:f0bedf980c65

Merge
author asaha
date Tue, 16 Sep 2014 13:55:38 -0700
parents 8cb56c8cb30d 2e6106d44079
children 4cb90023bf2b
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.cpp	Mon Sep 15 16:39:00 2014 -0400
+++ b/src/share/vm/classfile/classLoader.cpp	Tue Sep 16 13:55:38 2014 -0700
@@ -1618,7 +1618,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();
@@ -1637,7 +1637,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();