RFR: 8342382: Implement JEP 522: G1 GC: Improve Throughput by Reducing Synchronization [v55]
Martin Doerr
mdoerr at openjdk.org
Fri Sep 12 08:30:01 UTC 2025
On Fri, 12 Sep 2025 07:23:23 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>>> I can argue I was following precedent :)
>>
>> You were, but it's a precedent that needs to die.
>>
>>> I see your point though. What do you suggest to do here? Use `count` throughout instead?
>>
>> Yes, although it might need a couple more comments.
>
> What do you think of https://github.com/openjdk/jdk/commit/74e9240ba275986375d3e6f0ac9bfa4b5fbb78ce ? (not committed in this branch yet because I do not want all the back-and-forth here)
Other idea: set count = noreg to prevent usage after it is used under the other name.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23739#discussion_r2343415421
More information about the hotspot-gc-dev
mailing list