hotspot/src/share/vm/classfile/classLoader.cpp
changeset 38133 78b95467b9f1
parent 37418 ebb041956080
child 38145 164415057be1
child 38218 f5ba1dea04eb
--- a/hotspot/src/share/vm/classfile/classLoader.cpp	Mon Apr 25 21:25:22 2016 +0300
+++ b/hotspot/src/share/vm/classfile/classLoader.cpp	Tue Apr 26 10:28:51 2016 +0200
@@ -1651,7 +1651,7 @@
               }
               if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) {
                 // Clobber the first compile and force second tier compilation
-                nmethod* nm = m->code();
+                CompiledMethod* nm = m->code();
                 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();
@@ -1670,7 +1670,7 @@
               tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string());
             }
 
-            nmethod* nm = m->code();
+            CompiledMethod* nm = m->code();
             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();