RFR: 8286990: Add compiler name to warning messages in Compiler Directive [v2]
Yuta Sato
duke at openjdk.java.net
Tue May 24 04:34:54 UTC 2022
> When using Compiler Directive such as `java -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=<CompilerDirectives.json> <Java.class>` ,
> it shows totally the same message for c1 and c2 compiler and the user would be confused about
> which compiler is affected by this message.
> This should show messages with their compiler name so that the user knows which compiler shows this message.
>
> My change result would be like the below.
>
>
> OpenJDK 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
> OpenJDK 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
>
> ->
>
> OpenJDK 64-Bit Server VM warning: c1: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
> OpenJDK 64-Bit Server VM warning: c2: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
Yuta Sato has updated the pull request incrementally with one additional commit since the last revision:
Update full name
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8591/files
- new: https://git.openjdk.java.net/jdk/pull/8591/files/e4f4cc84..64256f06
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8591&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8591&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/8591.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8591/head:pull/8591
PR: https://git.openjdk.java.net/jdk/pull/8591
More information about the hotspot-compiler-dev
mailing list