comparison src/share/vm/runtime/jniHandles.cpp @ 1162:d749b1813f40

Merge
author trims
date Fri, 15 Jan 2010 14:25:44 -0800
parents 4ce7240d622c
children c18cbe5936b8
comparison
equal deleted inserted replaced
1130:1bc68593a110 1162:d749b1813f40
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) {