RFR(XS): 8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC

Kim Barrett kim.barrett at oracle.com
Fri Aug 31 22:50:50 UTC 2018


> On Aug 31, 2018, at 7:58 AM, Lindenmaier, Goetz <goetz.lindenmaier at sap.com> wrote:
> 
> Hi,
> 
> could I please get reviews for this tiny fix?
> http://cr.openjdk.java.net/~goetz/wr18/8210259-fixNoZGCError/webrev.01/
> 
> The testcase enabling ZGC is protected by (Platform.isLinux() && Platform.isX64()). 
> Thus, the test fails if the VM is compiled without ZGS on linuxx86_64.
> Fix: use GC.Z.isSupported()
> 
> Best regards,
>  Goetz.

Looks good.



More information about the hotspot-runtime-dev mailing list