// 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");letkDisabledAbort=false;// TODO(9380): enable abort for this testletconfig={numThings:4,// size of circular buffernumWorkers:4,// number of workersnumMessages:1000,// number of messages sent to each workerallocInterval:11,// interval for allocating new things per workertraceScript:false,// print the scripttraceAlloc:true,// print each allocation attempttraceIteration:10,// print diagnostics every so many iterationsabortOnFail:kDisabledAbort,// kill worker if allocation failsAllocThing:functionAllocThing(id){letpages=1,max=1;returnnewWebAssembly.Memory({initial:pages,maximum:max,shared:true});},}RunWorkerPingTest(config);