RFR (T): 8146090: java/lang/ref/ReachabilityFenceTest.java fails with -XX:+DeoptimizeALot
david.holmes at oracle.com
Tue Dec 4 03:38:00 UTC 2018
On 4/12/2018 11:06 am, Vladimir Ivanov wrote:
> The test doesn't work with -XX:+DeoptimizeALot: the test expects
> execution to continue in generated code after System.gc() call, but JVM
> constantly deoptimizes it at that point in -XX:+DeoptimizeALot mode, so
> execution continues in interpreter and it breaks the invariant the test
> The fix is to disable executing the test with -XX:+DeoptimizeALot.
I just added a query to the bug report. I can't tell what other flags
get tested in same run that uses DeoptimizeALot. Is it better to exclude
the test from all such runs, or to force DeoptimizeALot off in the @run
PS. Please update the copyright line to add 2018.
> Testing: manually verified that the test isn't executed when
> -XX:+DeoptimizeALot is specified.
> Best regards,
> Vladimir Ivanov
More information about the hotspot-dev