8298610: Refactor archiving of ConstantPool::resolved_references()

Reviewed-by: dholmes, ccheung
This commit is contained in:
Ioi Lam 2023-01-24 04:07:06 +00:00
parent 937ba1cadb
commit afd5921f1c
6 changed files with 37 additions and 27 deletions

View file

@ -444,7 +444,7 @@ class ConstantPoolCache: public MetaspaceObj {
MetaspaceObj::Type type() const { return ConstantPoolCacheType; }
oop archived_references() NOT_CDS_JAVA_HEAP_RETURN_(NULL);
void set_archived_references(oop o) NOT_CDS_JAVA_HEAP_RETURN;
void set_archived_references(int root_index) NOT_CDS_JAVA_HEAP_RETURN;
void clear_archived_references() NOT_CDS_JAVA_HEAP_RETURN;
inline objArrayOop resolved_references();