RFR: 8329191: JVMCI compiler warning is truncated [v2]
Doug Simon
dnsimon at openjdk.org
Wed Mar 27 18:38:47 UTC 2024
> $ java -Djdk.graal.CompilerConfiguration=XXcommunity HelloWorld
> [0.035s][warning][jit,compilation] JVMCI compiler disabled after 11 of 11 upcalls had errors (Last error: "uncaught exception in call_HotSpotJVMCIRuntime_compileMethod [jdk.graal.compiler.debug.GraalError: Compiler configuration 'XXcommunity' not found. Available configurations are: enterp
>
> The above message is truncated. It should be:
>
> [0.032s][warning][jit,compilation] JVMCI compiler disabled after 11 of 11 upcalls had errors (Last error: "uncaught exception in call_HotSpotJVMCIRuntime_compileMethod [jdk.graal.compiler.debug.GraalError: Compiler configuration 'XXcommunity' not found. Available configurations are: enterprise, community, economy]"). Use -Xlog:jit+compilation for more detail.
>
>
> This PR fixes this by using `stringStream` instead of `err_msg` when creating these messages.
Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
converted more usages of err_msg to stringStream
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18513/files
- new: https://git.openjdk.org/jdk/pull/18513/files/5f23d0e7..61d6486d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18513&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18513&range=00-01
Stats: 8 lines in 1 file changed: 4 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/18513.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18513/head:pull/18513
PR: https://git.openjdk.org/jdk/pull/18513
More information about the hotspot-compiler-dev
mailing list