tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

gc-two-views.js (262B)


      1 // |jit-test| skip-if: !this.SharedArrayBuffer
      2 
      3 // Test tracing of two views of a SharedArrayBuffer. Uses a different path.
      4 
      5 function f() {
      6    var x = new SharedArrayBuffer(0x1000);
      7    var y = new Int32Array(x);
      8    var z = new Int8Array(x);
      9    gc();
     10 }
     11 
     12 f();