hotspot/src/share/vm/jvmci/jvmciRuntime.cpp
changeset 35835 7fade08f69b2
parent 35499 b79827ea1b9f
child 36333 dcca1e98a2ab
equal deleted inserted replaced
35828:495df8a5e28a 35835:7fade08f69b2
   632   return Handle((oop)result.get_jobject());
   632   return Handle((oop)result.get_jobject());
   633 }
   633 }
   634 
   634 
   635 void JVMCIRuntime::initialize_HotSpotJVMCIRuntime(TRAPS) {
   635 void JVMCIRuntime::initialize_HotSpotJVMCIRuntime(TRAPS) {
   636   if (JNIHandles::resolve(_HotSpotJVMCIRuntime_instance) == NULL) {
   636   if (JNIHandles::resolve(_HotSpotJVMCIRuntime_instance) == NULL) {
       
   637     ResourceMark rm;
   637 #ifdef ASSERT
   638 #ifdef ASSERT
   638     // This should only be called in the context of the JVMCI class being initialized
   639     // This should only be called in the context of the JVMCI class being initialized
   639     TempNewSymbol name = SymbolTable::new_symbol("jdk/vm/ci/runtime/JVMCI", CHECK);
   640     TempNewSymbol name = SymbolTable::new_symbol("jdk/vm/ci/runtime/JVMCI", CHECK);
   640     Klass* k = SystemDictionary::resolve_or_null(name, CHECK);
   641     Klass* k = SystemDictionary::resolve_or_null(name, CHECK);
   641     instanceKlassHandle klass = InstanceKlass::cast(k);
   642     instanceKlassHandle klass = InstanceKlass::cast(k);