I am not sure if that is really a problem, so feel free to close if it isn't. The -Xint execution takes 9s on my laptop, while running with -Xcomp it's 4:30. 30 times more.
The test causes StackOverflow, just in case.
To run, first compile:
${JAVA_HOME}/bin/javac \
-sourcepath $open/test/hotspot/jtreg:$open/test/lib:$open/test/hotspot/jtreg/testlibrary/jittester/src \
-d target \
Test_251.java
... and perform two runs:
${JAVA_HOME}/bin/java -cp target -Xint Test_25
${JAVA_HOME}/bin/java -cp target -Xcomp Test_25
The test causes StackOverflow, just in case.
To run, first compile:
${JAVA_HOME}/bin/javac \
-sourcepath $open/test/hotspot/jtreg:$open/test/lib:$open/test/hotspot/jtreg/testlibrary/jittester/src \
-d target \
Test_251.java
... and perform two runs:
${JAVA_HOME}/bin/java -cp target -Xint Test_25
${JAVA_HOME}/bin/java -cp target -Xcomp Test_25
- duplicates
-
JDK-8308103 Massive (up to ~30x) increase in C2 compilation time since JDK 17
- Resolved