-
Bug
-
Resolution: Fixed
-
P2
-
9
-
None
-
b22
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064158 | 8u45 | Attila Szegedi | P2 | Resolved | Fixed | b01 |
JDK-8055623 | 8u40 | Attila Szegedi | P2 | Closed | Fixed | b04 |
JDK-8070395 | emb-8u47 | Attila Szegedi | P2 | Resolved | Fixed | team |
this test abridged from node's test/pummel/test-https-large-response.js -
var body = '';
print('build body...');
for (var i = 0; i < 1024 * 1024; i++) {
body += 'hello world\n';
}
print('done\n');
with jdk8u20, this test case takes 1.5s, with jdk9 (1.9.0-internal-akhil_2014_06_27_09_52-b00), takes more than several minutes and has to be killed. I suspect exponential behavior in string concat.
var body = '';
print('build body...');
for (var i = 0; i < 1024 * 1024; i++) {
body += 'hello world\n';
}
print('done\n');
with jdk8u20, this test case takes 1.5s, with jdk9 (1.9.0-internal-akhil_2014_06_27_09_52-b00), takes more than several minutes and has to be killed. I suspect exponential behavior in string concat.
- backported by
-
JDK-8064158 String concatenation with optimistic types is slow
- Resolved
-
JDK-8070395 String concatenation with optimistic types is slow
- Resolved
-
JDK-8055623 String concatenation with optimistic types is slow
- Closed