RFR: 8344320: GenShen: Possible null pointer usage in shGenerationalHeap
William Kemper
wkemper at openjdk.org
Wed Nov 20 00:08:41 UTC 2024
On Tue, 19 Nov 2024 16:01:10 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
> Certain threads, including the vm thread and Shenandoah's control thread, do not have PLABs. There are scenarios where each may need to allocate old-gen memory on the slow-path of the load reference barrier. This PR fixes an assumption in the allocator that assumed all threads have plabs.
Looks good to me.
-------------
Marked as reviewed by wkemper (Committer).
PR Review: https://git.openjdk.org/shenandoah/pull/543#pullrequestreview-2447062878
More information about the shenandoah-dev
mailing list