RFR: 8367708: GenShen: Reduce total evacuation burden [v2]

Kelvin Nilsen kdnilsen at openjdk.org
Tue Sep 16 17:56:09 UTC 2025


On Mon, 15 Sep 2025 21:29:17 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

>> src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp line 1443:
>> 
>>> 1441: 
>>> 1442:   oop humongous_obj = cast_to_oop(start->bottom());
>>> 1443:   size_t size = humongous_obj->size();
>> 
>> Is this intentional? This looks like it would reintroduce https://github.com/openjdk/jdk/pull/26256 (crash trying to access size of humongous object after its class has been unloaded).
>
> good catch.  I'll change how this is implemented.

I've fixed this.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27278#discussion_r2353245688


More information about the hotspot-gc-dev mailing list