mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary Reviewed-by: jiangli, tschatzl
This commit is contained in:
parent
aafb128d89
commit
5b2c081460
25 changed files with 611 additions and 197 deletions
|
@ -777,7 +777,7 @@ oop ConstantPoolCache::archived_references() {
|
|||
if (CompressedOops::is_null(_archived_references)) {
|
||||
return NULL;
|
||||
}
|
||||
return MetaspaceShared::materialize_archived_object(CompressedOops::decode_not_null(_archived_references));
|
||||
return MetaspaceShared::materialize_archived_object(_archived_references);
|
||||
}
|
||||
|
||||
void ConstantPoolCache::set_archived_references(oop o) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue