RFR: 8252505: C1/C2 compiler support for blackholes [v23]

Vladimir Ivanov vlivanov at openjdk.java.net
Fri Dec 4 10:04:33 UTC 2020


On Fri, 4 Dec 2020 09:49:16 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Well, if users want to shun the warning, then they should not put incorrect compiler commands to JVM. For example, JMH does run with `quiet` to silence the "successful" command output, and I still want JVM to show warning messages when people put a `@CompilerControl(BLACKHOLE)` on a wrong method. It is better UX.
>
> Then check `PrintWarnings`? It's an explicit user request to silent JVM warnings on output stream.

I agree now that `CompileCommand=quiet` is not appropriate here.

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

PR: https://git.openjdk.java.net/jdk/pull/1203


More information about the hotspot-dev mailing list