RFR: 8368781: PerfMemory - make issues more transparent [v6]
Matthias Baesken
mbaesken at openjdk.org
Mon Oct 20 14:24:18 UTC 2025
On Mon, 20 Oct 2025 12:17:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Currently issues with perfMemory like problems with the secure tmp subdirectory creation are not very transparent in release JVMs.
>>
>> There exists some warnings traces but they are behind develop flags like Verbose so only available in debug JVMs.
>> We could (in case of issues) store some information and write it later into hsinfo/hserr files ; or make the existing warnings available too in release JVMs.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove log_is_enabled
src/hotspot/share/runtime/perfMemory.cpp line 251:
> 249: dest_file, JVM_MAXPATHLEN)) {
> 250: FREE_C_HEAP_ARRAY(char, dest_file);
> 251: log_debug(perf)("Invalid performance data file path name specified, "\
Btw is the ` '' `here really needed ? We had it before but most strings over multiple lines do not use it, from what I see ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27602#discussion_r2445170092
More information about the hotspot-runtime-dev
mailing list