hotspot/src/share/vm/runtime/jniHandles.cpp
changeset 4571 80b553bddc26
parent 670 ddf3e9583f2f
child 5547 f4b087cbb361
equal deleted inserted replaced
4569:f372ea9e5ed4 4571:80b553bddc26
   142   _global_handles      = JNIHandleBlock::allocate_block();
   142   _global_handles      = JNIHandleBlock::allocate_block();
   143   _weak_global_handles = JNIHandleBlock::allocate_block();
   143   _weak_global_handles = JNIHandleBlock::allocate_block();
   144   EXCEPTION_MARK;
   144   EXCEPTION_MARK;
   145   // We will never reach the CATCH below since Exceptions::_throw will cause
   145   // We will never reach the CATCH below since Exceptions::_throw will cause
   146   // the VM to exit if an exception is thrown during initialization
   146   // the VM to exit if an exception is thrown during initialization
   147   klassOop k      = SystemDictionary::object_klass();
   147   klassOop k      = SystemDictionary::Object_klass();
   148   _deleted_handle = instanceKlass::cast(k)->allocate_permanent_instance(CATCH);
   148   _deleted_handle = instanceKlass::cast(k)->allocate_permanent_instance(CATCH);
   149 }
   149 }
   150 
   150 
   151 
   151 
   152 bool JNIHandles::is_local_handle(Thread* thread, jobject handle) {
   152 bool JNIHandles::is_local_handle(Thread* thread, jobject handle) {