Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciEnv.cpp @ 989:148e5441d916
6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
author | jrose |
---|---|
date | Tue, 15 Sep 2009 21:53:47 -0700 |
parents | bd02caa94611 |
children | 389049f3f393 0c3f888b7636 |
comparison
equal
deleted
inserted
replaced
987:00977607da34 | 989:148e5441d916 |
---|---|
255 return get_object(JNIHandles::resolve(method))->as_method(); | 255 return get_object(JNIHandles::resolve(method))->as_method(); |
256 } | 256 } |
257 | 257 |
258 // ------------------------------------------------------------------ | 258 // ------------------------------------------------------------------ |
259 // ciEnv::make_array | 259 // ciEnv::make_array |
260 ciArray* ciEnv::make_array(GrowableArray<ciObject*>* objects) { | 260 ciArray* ciEnv::make_system_array(GrowableArray<ciObject*>* objects) { |
261 VM_ENTRY_MARK; | 261 VM_ENTRY_MARK; |
262 int length = objects->length(); | 262 int length = objects->length(); |
263 objArrayOop a = oopFactory::new_system_objArray(length, THREAD); | 263 objArrayOop a = oopFactory::new_system_objArray(length, THREAD); |
264 if (HAS_PENDING_EXCEPTION) { | 264 if (HAS_PENDING_EXCEPTION) { |
265 CLEAR_PENDING_EXCEPTION; | 265 CLEAR_PENDING_EXCEPTION; |