equal
deleted
inserted
replaced
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); |