8298048: Combine CDS archive heap into a single block

Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: matsaave, tschatzl
This commit is contained in:
Ioi Lam 2023-04-21 15:29:45 +00:00
parent d518dbf726
commit 723037a79d
83 changed files with 803 additions and 3090 deletions

View file

@ -231,13 +231,6 @@ jdouble oopDesc::double_field_acquire(int offset) const { return A
void oopDesc::release_double_field_put(int offset, jdouble value) { Atomic::release_store(field_addr<jdouble>(offset), value); }
#ifdef ASSERT
void oopDesc::verify_forwardee(oop forwardee) {
#if INCLUDE_CDS_JAVA_HEAP
assert(!Universe::heap()->is_archived_object(forwardee) && !Universe::heap()->is_archived_object(this),
"forwarding archive object");
#endif
}
bool oopDesc::size_might_change() {
// UseParallelGC and UseG1GC can change the length field
// of an "old copy" of an object array in the young gen so it indicates