-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 9
-
b45
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085303 | emb-9 | Joel Borggrén-Franck | P4 | Resolved | Fixed | team |
src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java:829
super(String.format("deferredTypeMap[%s]", mode));
Shows up in profiles as being the cause of numerous object instantiations.
Since name seems to be diagnostic and only two possibilities exist, it seems we could eliminate this entirely by precalculating the modes.
super(String.format("deferredTypeMap[%s]", mode));
Shows up in profiles as being the cause of numerous object instantiations.
Since name seems to be diagnostic and only two possibilities exist, it seems we could eliminate this entirely by precalculating the modes.
- backported by
-
JDK-8085303 String.format in DeferredAttr.DeferredTypeMap constructor leads to excessive object creation
-
- Resolved
-