RFR: 8344320: GenShen: Possible null pointer usage in shGenerationalHeap

William Kemper wkemper at openjdk.org
Wed Nov 20 00:13:31 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.

Not sure why this PR is pulling in 27 commits, I don't think it matters, but in the future try creating new branches with:

% git fetch <shenandoah>
% git switch -c <new-branch-name> <shenandoah>/master

Replace `<shenandoah>` with your remote name for `https://github.com/openjdk/shenandoah`.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/543#issuecomment-2487021218


More information about the shenandoah-dev mailing list