Mercurial > hg > truffle
comparison src/share/vm/ci/ciEnv.hpp @ 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 | 7c57aead6d3e |
comparison
equal
deleted
inserted
replaced
987:00977607da34 | 989:148e5441d916 |
---|---|
337 ciKlass* find_system_klass(ciSymbol* klass_name); | 337 ciKlass* find_system_klass(ciSymbol* klass_name); |
338 // Note: To find a class from its name string, use ciSymbol::make, | 338 // Note: To find a class from its name string, use ciSymbol::make, |
339 // but consider adding to vmSymbols.hpp instead. | 339 // but consider adding to vmSymbols.hpp instead. |
340 | 340 |
341 // Use this to make a holder for non-perm compile time constants. | 341 // Use this to make a holder for non-perm compile time constants. |
342 // The resulting array is guaranteed to satisfy "has_encoding". | 342 // The resulting array is guaranteed to satisfy "can_be_constant". |
343 ciArray* make_array(GrowableArray<ciObject*>* objects); | 343 ciArray* make_system_array(GrowableArray<ciObject*>* objects); |
344 | 344 |
345 // converts the ciKlass* representing the holder of a method into a | 345 // converts the ciKlass* representing the holder of a method into a |
346 // ciInstanceKlass*. This is needed since the holder of a method in | 346 // ciInstanceKlass*. This is needed since the holder of a method in |
347 // the bytecodes could be an array type. Basically this converts | 347 // the bytecodes could be an array type. Basically this converts |
348 // array types into java/lang/Object and other types stay as they are. | 348 // array types into java/lang/Object and other types stay as they are. |