Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b89
-
Verified
Description
javac keeps names as interned Name objects. javadoc uses Strings, and creates Strings from Names as needed, sometimes thousands of times per instance. These strings should be cached.
calls/instance of ClassDoc.name: 779
calls/instance of ClassDoc.qualifiedName: 144
calls/instance of PackageDoc.qualifiedName: 10366
calls/instance of PackageDoc.qualifiedName: 1256
calls/instance of PackageDoc.qualifiedName: 1326
calls/instance of PackageDoc.qualifiedName: 149
calls/instance of PackageDoc.qualifiedName: 185
calls/instance of PackageDoc.qualifiedName: 266
calls/instance of PackageDoc.qualifiedName: 309
calls/instance of PackageDoc.qualifiedName: 911
calls/instance of ClassDoc.name: 779
calls/instance of ClassDoc.qualifiedName: 144
calls/instance of PackageDoc.qualifiedName: 10366
calls/instance of PackageDoc.qualifiedName: 1256
calls/instance of PackageDoc.qualifiedName: 1326
calls/instance of PackageDoc.qualifiedName: 149
calls/instance of PackageDoc.qualifiedName: 185
calls/instance of PackageDoc.qualifiedName: 266
calls/instance of PackageDoc.qualifiedName: 309
calls/instance of PackageDoc.qualifiedName: 911
Attachments
Issue Links
- relates to
-
JDK-8012681 Commit for JDK-8012656 breaks tl build
- Closed