Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064137 | 8u45 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8055604 | 8u40 | Attila Szegedi | P4 | Resolved | Fixed | b04 |
JDK-8070374 | emb-8u47 | Attila Szegedi | P4 | Resolved | Fixed | team |
Currently, when a ConsString is flattened to a java.lang.String, only the top level string is generated and cached (for obvious reasons). However, if a ConsString is repeatedly concatenated with another string and then flattened we may want to generate and cache the java.lang.String representation of that partial ConsString.
A typical use case is the following piece of code where `data` may be a constant, long ConsString.
String(header + CRLF + data);
A typical use case is the following piece of code where `data` may be a constant, long ConsString.
String(header + CRLF + data);
- backported by
-
JDK-8055604 Avoid repeated flattening of nested ConsStrings
-
- Resolved
-
-
JDK-8064137 Avoid repeated flattening of nested ConsStrings
-
- Resolved
-
-
JDK-8070374 Avoid repeated flattening of nested ConsStrings
-
- Resolved
-