RFR: 8368781: PerfMemory - make issues more transparent [v2]
Christoph Langer
clanger at openjdk.org
Fri Oct 10 09:18:07 UTC 2025
On Wed, 8 Oct 2025 07:27:50 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:
>
> Make EnhanceErrorWarningLogging DIAGNOSTIC
I think adding a new diagnostic flag named `EnhanceErrorWarningLogging` in addition to `PrintMiscellaneous`and `Verbose` unnecessarily convolutes things and the name of the new option is not really obvious. I would rather add a flag like `TracePerfMemory` and replace usage of `(PrintMiscellaneous && Verbose)` with the new flag or change `PrintMiscellaneous` and `Verbose` to diagnostic flags such that they are available in product VMs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27602#issuecomment-3389017140
More information about the hotspot-runtime-dev
mailing list