RFR: Fix location of transform call in oop_promotion_failed
Stefan Karlsson
stefank at openjdk.java.net
Thu Apr 21 07:36:16 UTC 2022
Manual inspection of the ParallelGC code showed that we transform the chunk *after* the oops are pushed and published to other threads. I couldn't reproduce a crash with this, but this looks wrong and should be fixed. Just move the transform to *before* the push.
-------------
Commit messages:
- Fix location of transform call in oop_promotion_failed
Changes: https://git.openjdk.java.net/loom/pull/159/files
Webrev: https://webrevs.openjdk.java.net/?repo=loom&pr=159&range=00
Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
Patch: https://git.openjdk.java.net/loom/pull/159.diff
Fetch: git fetch https://git.openjdk.java.net/loom pull/159/head:pull/159
PR: https://git.openjdk.java.net/loom/pull/159
More information about the loom-dev
mailing list