RFR(M) 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
dmitry.chuyko at bell-sw.com
Fri Nov 2 15:24:14 UTC 2018
Just FYI, non-tiered .so libs from java.base and Graal are compiled and
linked on aarch64 as expected. I.e. like
jaotc -J-Xmx4g --info --compile-with-assertions --output java.base.so
--module java.base --compile-commands java.base-list.txt
So it will be good to have this change for our testing on ARMs.
On 10/18/18 9:29 AM, Ekaterina Pavlova wrote:
> Hi All,
> 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.
> Updated files:
> - make/RunTests.gmk, make/RunTestsPrebuilt.gmk,
> Main changes which add make procedures and targets to build AOT-ed
> 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
> - make/conf/jib-profiles.js
> Added Devkit installation on all platforms required to properly
> build AOTed libraries.
> - test/hotspot/jtreg/compiler/aot/scripts/java.base-list.txt
> These lists were updated based on latest jaotc errors satus.
> JBS: https://bugs.openjdk.java.net/browse/JDK-8152988
> webrev: http://cr.openjdk.java.net/~epavlova//8152988/webrev.01/
> 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