RFR: 8319554: Select LogOutput* directly for stdout and stderr

Xin Liu xliu at openjdk.org
Tue Nov 7 17:21:39 UTC 2023


This patch skips allocation on C heap and invoking jio_snprintf for stdout and stderr. 
They are 2 predefined LogOuptuts and can't be deleted. 

We also check the return value of set_log_config in test_asynclog.cpp. if configuration fails,
the test will be skipped. We expect tot fix the flaky failures(JDK-8309067).

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

Commit messages:
 - JDK-8319554: Select LogOutput* directly for stdout and stderr

Changes: https://git.openjdk.org/jdk/pull/16543/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16543&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319554
  Stats: 42 lines in 2 files changed: 16 ins; 10 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/16543.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16543/head:pull/16543

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


More information about the hotspot-runtime-dev mailing list