< prev index next >

src/share/vm/oops/cpCache.cpp

Print this page
rev 13365 : [mq]: review_update_1

*** 606,615 **** --- 606,627 ---- ref += ConstantPoolCacheEntry::_indy_resolved_references_entries - 1; // skip extra entries } } } + #if INCLUDE_CDS_JAVA_HEAP + oop ConstantPoolCache::archived_references() { + assert(UseSharedSpaces, "UseSharedSpaces expected."); + return oopDesc::decode_heap_oop(_archived_references); + } + + void ConstantPoolCache::set_archived_references(oop o) { + assert(DumpSharedSpaces, "called only during runtime"); + _archived_references = oopDesc::encode_heap_oop(o); + } + #endif + #if INCLUDE_JVMTI // RedefineClasses() API support: // If any entry of this ConstantPoolCache points to any of // old_methods, replace it with the corresponding new_method. void ConstantPoolCache::adjust_method_entries(InstanceKlass* holder, bool * trace_name_printed) {
< prev index next >