Hi all, This is a small patch to address [8327054](https://bugs.openjdk.org/browse/JDK-8327054) making `CodeCache::write_perf_map` aware of which output stream errors and warning message should be going to.
Testing: - [x] Added test case passes. Thanks, Sonia ------------- Commit messages: - 8327054: DiagnosticCommand Compiler.perfmap does not log on output() Changes: https://git.openjdk.org/jdk/pull/20257/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20257&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8327054 Stats: 16 lines in 5 files changed: 10 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/20257.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20257/head:pull/20257 PR: https://git.openjdk.org/jdk/pull/20257