[master] RFR: Resolve displaced header in CDS dumping

Roman Kennke rkennke at openjdk.java.net
Thu Oct 7 12:39:44 UTC 2021


Tests showed a bug in CDS dumping. When an object is locked, we need to resolve the displaced header in order to fetch the correct Klass*.

The failing test was:
runtime/cds/appcds/javaldr/LockDuringDump.java
and it's fixed by this change.

Testing:
 - [x] runtime/cds/appcds/javaldr/LockDuringDump.java
 - [x] tier1
 - [x] tier2

-------------

Commit messages:
 - Resolve displaced header in CDS dumping

Changes: https://git.openjdk.java.net/lilliput/pull/16/files
 Webrev: https://webrevs.openjdk.java.net/?repo=lilliput&pr=16&range=00
  Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/lilliput/pull/16.diff
  Fetch: git fetch https://git.openjdk.java.net/lilliput pull/16/head:pull/16

PR: https://git.openjdk.java.net/lilliput/pull/16


More information about the lilliput-dev mailing list