mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
Reviewed-by: jiangli, ccheung
This commit is contained in:
parent
cf26c4cc5c
commit
4e74846da8
10 changed files with 65 additions and 35 deletions
|
@ -834,7 +834,7 @@ class PatchEmbeddedPointers: public BitMapClosure {
|
|||
narrowOop* p = _start + offset;
|
||||
narrowOop v = *p;
|
||||
assert(!CompressedOops::is_null(v), "null oops should have been filtered out at dump time");
|
||||
oop o = HeapShared::decode_with_archived_oop_encoding_mode(v);
|
||||
oop o = HeapShared::decode_from_archive(v);
|
||||
RawAccess<IS_NOT_NULL>::oop_store(p, o);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue