We observed that in some cases (VM with few threads) CTW tests takes very long time:
TEST: applications/ctw/modules/java_base.java
build: 4.502 seconds
compile: 4.496 seconds
build: 0.876 seconds
compile: 0.875 seconds
driver: 1.306 seconds
build: 3.295 seconds
compile: 3.295 seconds
main: 3462.04 seconds
TEST RESULT: Passed. Execution successful
--------------------------------------------------
TEST: applications/ctw/modules/java_desktop.java
build: 0.0 seconds
build: 0.0 seconds
driver: 0.093 seconds
build: 0.001 seconds
main: 3224.677 seconds
TEST RESULT: Passed. Execution successful
We should investigate ability to split such tests similar to what we had in jdk8 by using CTW flags:
-XX:CompileTheWorldStartAt=10404 -XX:CompileTheWorldStopAt=10504
TEST: applications/ctw/modules/java_base.java
build: 4.502 seconds
compile: 4.496 seconds
build: 0.876 seconds
compile: 0.875 seconds
driver: 1.306 seconds
build: 3.295 seconds
compile: 3.295 seconds
main: 3462.04 seconds
TEST RESULT: Passed. Execution successful
--------------------------------------------------
TEST: applications/ctw/modules/java_desktop.java
build: 0.0 seconds
build: 0.0 seconds
driver: 0.093 seconds
build: 0.001 seconds
main: 3224.677 seconds
TEST RESULT: Passed. Execution successful
We should investigate ability to split such tests similar to what we had in jdk8 by using CTW flags:
-XX:CompileTheWorldStartAt=10404 -XX:CompileTheWorldStopAt=10504