[lworld] Integrated: 8272041: [lworld] CDS heap dump fails with primitive objects
iklam at openjdk.java.net
Fri Aug 6 20:15:59 UTC 2021
On Fri, 6 Aug 2021 04:47:32 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Two simple fixes to handle primitive objects when dumping the CDS heap:
> - When dumping the objects, we enter them into a hashtable. Do not use `oopDesc::identity_hash()` as the hashcode for this table.
> - When resetting the header of archived objects, do not call `oopDesc::identity_hash()` on primitive objects.
This pull request has now been integrated.
Author: Ioi Lam <iklam at openjdk.org>
Stats: 12 lines in 1 file changed: 3 ins; 0 del; 9 mod
8272041: [lworld] CDS heap dump fails with primitive objects
Reviewed-by: fparain, mchung
More information about the valhalla-dev