RFR: 8334357: Use NonInterleavingLogStream for report_metadata_oome

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Jun 18 12:34:28 UTC 2024


When `report_metadata_oome` occurs it usually occurs for multiple threads at once. Unless `tid` is used in the logging output it is very hard to understand what logging belongs together.

Log using a `NonInterleavingLogStream` so that the multi-line and multi-level logging from each thread does not get interleaved.

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

Commit messages:
 - 8334357: Use NonInterleavingLogStream for report_metadata_oome

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

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


More information about the hotspot-runtime-dev mailing list