RFR: 8285976: compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot [v2]

Tobias Hartmann thartmann at openjdk.java.net
Wed May 4 06:35:16 UTC 2022


On Wed, 4 May 2022 05:52:59 GMT, Xin Liu <xliu at openjdk.org> wrote:

>> If so, I think that should be done in the `@run` statement.
>
> I prefer Volker style rather than @run annotation.   Here are my arguments. 
> 
> 1. They need an extra one `-XX:+IgnoreUnrecognizedVMOptions` because those 2 options are not valid in debug builds.
> 2. Current makefile does put JTREG="VM_OPTIONS=-XX:+DeoptimizeALot" before, `@run` options will overwrite them.  We better off not reply on makefile's logic.
> 3. Writing them in code gives us an opportunity to write a comment.

Okay, fine with me.

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

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


More information about the hotspot-compiler-dev mailing list