[master] Integrated: Fix use of Klass* in GC JFR reporting

Roman Kennke rkennke at openjdk.java.net
Tue Oct 12 13:19:15 UTC 2021


On Tue, 12 Oct 2021 11:37:04 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Some JFR related code paths in GC access the Klass* of old objects that has already been overidden by the forwarding pointer. We can easily use the Klass* that we fetched earlier instead.
> 
> Testing:
>  - [x] tier1
>  - [x] tier2
>  - [x] jdk/jfr (some of which still fails, see subsequent PRs)

This pull request has now been integrated.

Changeset: 8b9dc84d
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.java.net/lilliput/commit/8b9dc84de52aae8e0c48f644ee4a03ddd88d9544
Stats:     16 lines in 4 files changed: 2 ins; 0 del; 14 mod

Fix use of Klass* in GC JFR reporting

Reviewed-by: shade

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

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


More information about the lilliput-dev mailing list