RFR: 8337815: Relax G1EvacStats atomic operations
duke
duke at openjdk.org
Mon Aug 12 17:24:36 UTC 2024
On Fri, 9 Aug 2024 17:46:43 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
> This PR should slightly improve the performance of G1EvacStats by using `memory_order_relaxed` instead of the default `memory_order_conservative`.
> Since the original bug report says
>
>>I doubt it would show on benchmarks, this is a paper-cut issue.
>
> I haven't benchmarked this change for performance.
>
> The change passes all tests in `gc/g1` locally on x86_64 linux.
@benty-amzn
Your change (at version 2c113c71dd08a7f2c15c0f48c1fc3cd27cb5a725) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20529#issuecomment-2284547524
More information about the hotspot-gc-dev
mailing list