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

Kelvin Nilsen kdnilsen at openjdk.org
Wed Nov 20 18:33:17 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.

This pull request has now been integrated.

Changeset: bf938e57
Author:    Kelvin Nilsen <kdnilsen at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/bf938e57c53be07011552d35398cbe7ec2366b22
Stats:     17 lines in 1 file changed: 1 ins; 1 del; 15 mod

8344320: GenShen: Possible null pointer usage in shGenerationalHeap

Reviewed-by: wkemper, ysr

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

PR: https://git.openjdk.org/shenandoah/pull/543


More information about the shenandoah-dev mailing list