repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
js
/
script-tests
/
nested-object-gc.js
blob
d40a5ac389747baf35fe74870718bbc86e13cee3
1
description
(
2
"This test checks whether garbage collection can handle deeply nested objects. It passes if the test does not crash."
3
);
4
5
var
start
=
new
Date
;
6
var
o
= {};
7
var
a
= [];
8
for
(
var
i
=
0
;
i
<
250000
;
i
++) {
9
o
= {
o
:
o
};
10
a
=[
a
];
11
}
12
13
gc
();