RFR: 8356173: Remove ThreadCritical
Johan Sjölen
jsjolen at openjdk.org
Fri May 9 13:13:51 UTC 2025
On Fri, 9 May 2025 06:49:21 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>However, I would love to just get rid of arena memory accounting altogether; the solution is very hackish and probably not needed anymore. The only heavy user of chunks causing repeated problems that caused me to use NMT at customers was the JIT. And I added the compilation memory statistic last year, so we have not a much much better tool to investigate JIT arena usage.
This has been our experience re: arenas as well. We would still get 'regular' malloc accounting, as the chunks are malloc allocated anyway.
I'm OK with this as a middle step.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25072#issuecomment-2866484798
More information about the hotspot-dev
mailing list