[master] RFR: Resolve displaced header in CDS dumping

Aleksey Shipilev shade at openjdk.java.net
Tue Oct 12 12:23:06 UTC 2021


On Thu, 7 Oct 2021 10:56:05 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> 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
>  - [x] tier3
>  - [ ] tier4

Looks reasonable.

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

Marked as reviewed by shade (Committer).

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


More information about the lilliput-dev mailing list