// Copyright 2019 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// Flags: --experimental-wasm-threadsload("test/mjsunit/worker-ping-test.js");
numMessages:2000,// number of messages sent to each workerallocInterval:10001,// interval for allocating new things per workertraceScript:false,// print the scripttraceAlloc:true,// print each allocation attempttraceIteration:10,// print diagnostics every so many iterationsabortOnFail:true,// kill worker if allocation failsAllocThing:functionAllocThing(id){letpages=1,max=1;returnnewWebAssembly.Memory({initial:pages,maximum:max,shared:true});},}RunWorkerPingTest(config);