mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -282,7 +282,7 @@ public:
|
|||
CompactHashtable_OopIterator(OopClosure *cl) : _closure(cl) {}
|
||||
inline void do_value(address base_address, u4 offset) const {
|
||||
narrowOop v = (narrowOop)offset;
|
||||
oop obj = HeapShared::decode_with_archived_oop_encoding_mode(v);
|
||||
oop obj = HeapShared::decode_from_archive(v);
|
||||
_closure->do_oop(&obj);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue