[lworld] Integrated: 8272041: [lworld] CDS heap dump fails with primitive objects

Ioi Lam 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.

Changeset: a8994ba4
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/a8994ba4ef126ce92311b340b82a112d276decb3
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


PR: https://git.openjdk.java.net/valhalla/pull/525

More information about the valhalla-dev mailing list