RFR (XXS) 8214557: Filter out VM flags which don't affect AOT code generation

Ekaterina Pavlova ekaterina.pavlova at oracle.com
Fri Nov 30 22:47:23 UTC 2018


AOT requires that the same java runtime configuration should be used during AOT compilation and execution.
This implies the same VM flags used by java and jaotc.
However some flags could dramatically slow down jaotc while don't affecting AOT code generation at all.
This fix filters out couple of such flags.

Please review.

     JBS: https://bugs.openjdk.java.net/browse/JDK-8214557
  webrev: http://cr.openjdk.java.net/~epavlova//8214557/webrev.00/index.html
testing: Tested by running with AOTed modules.


More information about the build-dev mailing list