RFR (XS) 8218715: [TESTBUG] TestUseOptoBiasInliningWithoutEliminateLocks needs to unlock WhiteBoxAPI

Vladimir Kozlov vladimir.kozlov at oracle.com
Sat Feb 9 18:23:13 UTC 2019


Looks good and trivial.

Vladimir

On 2/9/19 1:30 AM, Aleksey Shipilev wrote:
> Bug:
>    https://bugs.openjdk.java.net/browse/JDK-8218715
> 
> Current tier1 fails for me in release builds.
> 
> Fix:
> 
> diff -r e7d81a810546 test/hotspot/jtreg/compiler/c2/TestUseOptoBiasInliningWithoutEliminateLocks.java
> --- a/test/hotspot/jtreg/compiler/c2/TestUseOptoBiasInliningWithoutEliminateLocks.java  Fri Feb 08
> 20:51:55 2019 -0500
> +++ b/test/hotspot/jtreg/compiler/c2/TestUseOptoBiasInliningWithoutEliminateLocks.java  Sat Feb 09
> 10:29:52 2019 +0100
> @@ -41,5 +41,5 @@
>    *                   -XX:CompileCommand=dontinline,*::dontinline_*
>    *                   -XX:-EliminateLocks
> - *                   -XX:+WhiteBoxAPI -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
> + *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
>    *                   -Xbatch
>    *                   -XX:-TieredCompilation
> 
> Testing: jtreg test in question with Linux x86_64 {fastdebug, release} builds
> 
> Thanks,
> -Aleksey
> 


More information about the hotspot-compiler-dev mailing list