RFR: 8367150: Add a header line to improve VMErrorCallback printing

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Sep 9 06:35:52 UTC 2025


Currently all the registered VMErrorCallback are printed one after another in the error report with only a newline separating them. It makes harder to both quickly find the section, or differentiate the where one starts and another begins in the case of multiple callbacks. I propose we add a simple header line before each callback.


VMErrorCallback 1:
[ First callback's print ]
VMErrorCallback 2:
[ Second callback's print ]

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

Commit messages:
 - 8367150: Add a header line to improve VMErrorCallback printing

Changes: https://git.openjdk.org/jdk/pull/27160/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27160&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367150
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/27160.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27160/head:pull/27160

PR: https://git.openjdk.org/jdk/pull/27160


More information about the hotspot-dev mailing list