Integrated: 8305880: Loom: Avoid putting stale object pointers in oops

Stefan Karlsson stefank at openjdk.org
Thu Apr 20 09:21:53 UTC 2023


On Wed, 12 Apr 2023 06:25:17 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Generational ZGC has extra verification code for oops, which trigger asserts when it finds stale oops. We have cleaned away some usages of stale oops in the upstream repository (openjdk/jdk), but there are still a couple left in the Loom code. I propose that we rewrite the code, to pave the way for Generational ZGC.
> 
> I've tested this by running these patches on top of openjdk/fibers + ZGC. I've also tested this with Skynet + Generational ZGC, where these issues where first found.

This pull request has now been integrated.

Changeset: 6a7dff30
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6a7dff30edce7a24400b27bee4d7ddd45eed523d
Stats:     48 lines in 10 files changed: 9 ins; 2 del; 37 mod

8305880: Loom: Avoid putting stale object pointers in oops

Reviewed-by: eosterlund, aboldtch

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

PR: https://git.openjdk.org/jdk/pull/13439


More information about the hotspot-dev mailing list