[9] RFR(S) 8172054: Aot tests should include Java assertions into AOT compiled code
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Jan 4 01:40:25 UTC 2017
http://cr.openjdk.java.net/~kvn/8172054/webrev/
https://bugs.openjdk.java.net/browse/JDK-8172054
AOT tests failed when run with -esa or -ea flags after JDK-8168792 changes which requires to have Java assertions in AOT compiled code when these flags are specified.
The fix is always generate AOT code with Java assertions for AOT tests by adding jaotc flag --compile-with-assertions.
Also trace log for such failure and additional check when AOT library is loaded.
Tested with Hotspot jtreg tests.
Thanks,
Vladimir
More information about the hotspot-compiler-dev
mailing list