Integrated: 8286990: Add compiler name to warning messages in Compiler Directive
Yuta Sato
duke at openjdk.java.net
Wed Jun 8 16:09:33 UTC 2022
On Mon, 9 May 2022 05:23:14 GMT, Yuta Sato <duke at openjdk.java.net> wrote:
> 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
This pull request has now been integrated.
Changeset: c68419f2
Author: yuu1127 <satouyuzzb at oss.nttdata.com>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c68419f2f778f796d410ba3d27e916ae47700af5
Stats: 23 lines in 2 files changed: 18 ins; 0 del; 5 mod
8286990: Add compiler name to warning messages in Compiler Directive
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/8591
More information about the hotspot-compiler-dev
mailing list