Configure: Does enabling graal automatically disable cmsgc?

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Fri Aug 31 09:39:14 UTC 2018


Hi,

I'm just fixing jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java

It is not checking correctly whether ZGC is enabled. 

I found this code in the test:
if (!Compiler.isGraalEnabled()) { // Graal does not support CMS
      testExec(8, "-XX:+UseConcMarkSweepGC", "", "", false);
}

I think this should test for GC.CMS.isSupported(). I would like to 
fix this, too.
But this would require that configuring with graal disables cmsgc.
(Which seems to be what is desired given the comment above.)
Is this the case?

Best regards,
  Goetz.




More information about the build-dev mailing list