Debian Codegraph @

js/src/jit-test/tests/sharedbuf/gc-one-view.js

raw
1 // |jit-test| skip-if: !this.SharedArrayBuffer
2
3 // Test tracing of a single linked ArrayBufferViewObject.
4
5 function f() {
6 var x = new SharedArrayBuffer(0x1000);
7 var y = new Int32Array(x);
8 gc();
9 }
10
11 f();