Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7534738
test_gc_stress7.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
325 B
Referenced Files
None
Subscribers
None
test_gc_stress7.js
View Options
// Minimal crash: pad() + string concat in a nested loop
function
pad
(
s
,
n
)
{
while
(
s
.
length
<
n
)
s
+=
' '
;
return
s
;
}
let
sink
=
[];
for
(
let
i
=
0
;
i
<
10000
;
i
++
)
{
for
(
let
j
=
0
;
j
<
5
;
j
++
)
{
sink
.
push
(
pad
(
'INFO'
,
5
)
+
' '
+
pad
(
'hello'
,
15
));
}
if
(
sink
.
length
>
100
)
sink
=
[];
}
console
.
log
(
'OK'
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 17, 11:54 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
541891
Default Alt Text
test_gc_stress7.js (325 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment