Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/jniHandles.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | d1605aabd0a1 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1140:1f6d42899c3a | 1142:4ce7240d622c |
---|---|
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) { |