RFR: 8334060: Implementation of Late Barrier Expansion for G1 [v16]

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Sep 6 14:15:42 UTC 2024


On Fri, 6 Sep 2024 12:04:52 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> Yes exactly, that was what I meant.
>> I was just thinking whether it is necessary to do these barriers for enums at all. They will most likely always reside in a different region/generation anyways, and will (but that may be wrong) never be collected.
>
>> I was just thinking whether it is necessary to do these barriers for enums at all. They will most likely always reside in a different region/generation anyways, and will (but that may be wrong) never be collected.
> 
> As far as I understand, from a GC perspective enum instances are handled just like any other class instance, so I do not think there is any special GC barrier optimization opportunity for them. Maybe some GC expert can comment further on this or correct me if I am wrong.

> Hi @robcasloz, you can pick up s390x patch from here: [offamitkumar at 6663433](https://github.com/offamitkumar/jdk/commit/6663433c4aa17925f699eaa8995cdc0cd78c0034)

Done, thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/19746#issuecomment-2334130205


More information about the hotspot-dev mailing list