RFR(M) 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
ekaterina.pavlova at oracle.com
Thu Oct 18 06:29:21 UTC 2018
Please review the changes which add support to build AOTed jdk modules and then use them during the testing.
Note, building of AOTed libraries needs to be done at the same machine the testing is going to be started.
So, this could not be done at jdk build time.
- make/RunTests.gmk, make/RunTestsPrebuilt.gmk, make/RunTestsPrebuiltSpec.gmk
Main changes which add make procedures and targets to build AOT-ed libraries.
New environment variable TEST_OPTS_AOT_MODULES is introduced to specify list of modules to build AOT-ed libraries for.
Ex: TEST_OPTS_AOT_MODULES=java.base java.logging
Added Devkit installation on all platforms required to properly build AOTed libraries.
These lists were updated based on latest jaotc errors satus.
testing: Tested by running subset of hotspot, jdk and jck tests with TEST_OPTS_AOT_MODULES=java.base jdk.internal.vm.compiler
with "make run-test" and in Mach5.
Thanks a lot Erik for huge help with porting original patch done in old testing framework (test/TestCommon.gmk)
to new one (make/RunTests*).
More information about the hotspot-compiler-dev