hotspot/src/share/vm/jvmci/jvmciEnv.cpp
changeset 36078 954c49c0ba57
parent 35592 5814f874d736
child 36508 5f9eee6b383b
equal deleted inserted replaced
36077:fa6d92de1c70 36078:954c49c0ba57
   589   }
   589   }
   590 
   590 
   591   // JVMTI -- compiled method notification (must be done outside lock)
   591   // JVMTI -- compiled method notification (must be done outside lock)
   592   if (nm != NULL) {
   592   if (nm != NULL) {
   593     nm->post_compiled_method_load_event();
   593     nm->post_compiled_method_load_event();
       
   594 
       
   595     if (env == NULL) {
       
   596       // This compile didn't come through the CompileBroker so perform the printing here
       
   597       DirectiveSet* directive = DirectivesStack::getMatchingDirective(method, compiler);
       
   598       nm->maybe_print_nmethod(directive);
       
   599       DirectivesStack::release(directive);
       
   600     }
   594   }
   601   }
   595 
   602 
   596   return result;
   603   return result;
   597 }
   604 }
   598 
   605