RFR: 8293069: Make -XX:+Verbose less verbose
Eric Nothum
duke at openjdk.org
Tue Jun 13 14:43:59 UTC 2023
1) Added PrintOpto guard to noisy Verbose prints in Compile::process_for_unstable_if_traps and Parse::catch_call_exceptions.
2) Removed noisy Verbose in ciEnv::record_best_dyno_loc, which looked like a leftover from implementation of [JDK-8271911](https://bugs.openjdk.org/browse/JDK-8271911).
I also rearranged the if statement around Verbose and removed the TODO comment.
@dean-long is the TODO still relevant? In case it is still relevant, I think we should create a separate enhancement for further investigation rather than keeping it in the comments.
-------------
Commit messages:
- Rewrote the if statement in record_best_dyno_loc
- Removed noisy Verbose in ciEnv.cpp
- 8293069: Guarded Verbose prints additionally with PrintOpto in compile.cpp and doCall.cpp. This avoids increased printing when setting the Verbose flag without the PrintOpto flag.
Changes: https://git.openjdk.org/jdk/pull/14420/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14420&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293069
Stats: 9 lines in 3 files changed: 0 ins; 6 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/14420.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14420/head:pull/14420
PR: https://git.openjdk.org/jdk/pull/14420
More information about the hotspot-compiler-dev
mailing list