RFR: 8344009: Improve compiler memory statistics [v4]

Thomas Stuefe stuefe at openjdk.org
Tue Feb 25 10:03:09 UTC 2025


On Mon, 24 Feb 2025 10:10:50 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> Thomas Stuefe has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   avoid Thread::current in high traffic chunk alloc path
>
> src/hotspot/share/compiler/compilationMemoryStatistic.cpp line 255:
> 
>> 253:   char tmp[1024];
>> 254:   _k->as_C_string(tmp, sizeof(tmp));
>> 255: if (UseNewCode){ printf("%s\n",tmp); fflush(stdout);}
> 
> I guess this use of `UseNewCode` is not meant to be integrated?

Yes, that was an error . I'll remove it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23530#discussion_r1969430129


More information about the serviceability-dev mailing list