JDK-8189845 : Fix for 8157000 causes significant performance regression
Type:Bug
Component:tools
Sub-Component:javadoc(tool)
Affected Version:10
Priority:P2
Status:Resolved
Resolution:Fixed
Submitted:2017-10-24
Updated:2017-11-03
Resolved:2017-10-26
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.
The fix for JDK-8157000 causes a significant performance regression.
Comments
Some stats (Windows x64) for javadoc runs building the jdk docs bundles
Note: these are *not* averaged runs, expect noise.
before 8157000: 3m52s
after 8157000: 6m12s
with this fix : 4m28s
Thus with this fix, the performance is back in line, the bottleneck is javadoc's
VisibleMemberMap implementation that is slated to be revamped in a future release.
Optimized a hot method as described by the webrev:
Webrev published: http://mail.openjdk.java.net/pipermail/javadoc-dev/2017-October/000338.html