Integrated: 8329191: JVMCI compiler warning is truncated

Doug Simon dnsimon at openjdk.org
Thu Mar 28 10:19:42 UTC 2024


On Wed, 27 Mar 2024 14:00:41 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> $ 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.

This pull request has now been integrated.

Changeset: 7c7b961e
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7c7b961e732d1bef3c95a69758e283c8fb32fff6
Stats:     18 lines in 3 files changed: 10 ins; 0 del; 8 mod

8329191: JVMCI compiler warning is truncated

Reviewed-by: never

-------------

PR: https://git.openjdk.org/jdk/pull/18513


More information about the hotspot-compiler-dev mailing list