Hi,
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. thanks, -katya