JDK-8162492 : JDK 9 javac still slower than JDK 8 for repeated compilation
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-07-25
  • Updated: 2022-05-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Under JDK-8150641, performance of repeated compilation in JDK 9 was significantly improved. But it is still slower than in JDK 8, using the speedtest from JDK-8150641, using NetBeans 8.0 installation as the source of jar files:
---
SpeedTest.java-empty-shared
JDK 8
average compilation time: 7.1
vanilla JDK9
average compilation time: 24.975
SpeedTest.java-empty-unshared
JDK 8
average compilation time: 9.15
vanilla JDK9
average compilation time: 26.575
SpeedTest.java-jars-shared
JDK 8
average compilation time: 12.975
vanilla JDK9
average compilation time: 48.7
SpeedTest.java-jars-unshared
JDK 8
average compilation time: 133.6
vanilla JDK9
average compilation time: 353.175
---