diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2022-04-24 09:29:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 09:29:13 +0300 |
commit | daae938f32f2660a8cb7bf42891bc74b984c7f36 (patch) | |
tree | efe184e1ee83f6935dfdb080a15ff2931ff611e8 /test | |
parent | 5ad47a0c2a587616f8d7c25e09f76dab389fdbf0 (diff) |
build: enable V8's shared read-only heap
It is what V8's build config does by default.
PR-URL: https://github.com/nodejs/node/pull/42809
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-worker-nearheaplimit-deadlock.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-worker-nearheaplimit-deadlock.js b/test/parallel/test-worker-nearheaplimit-deadlock.js index cf4c0d972c8..b22c86b2116 100644 --- a/test/parallel/test-worker-nearheaplimit-deadlock.js +++ b/test/parallel/test-worker-nearheaplimit-deadlock.js @@ -1,3 +1,7 @@ +// Flags: --no-node-snapshot +// With node snapshot the OOM can occur during the deserialization of the +// context, so disable it since we want the OOM to occur during the creation of +// the message port. 'use strict'; const common = require('../common'); const assert = require('assert'); @@ -11,10 +15,6 @@ if (!process.env.HAS_STARTED_WORKER) { maxYoungGenerationSizeMb: 0, maxOldGenerationSizeMb: 0 }, - // With node snapshot the OOM can occur during the deserialization of - // the context, so disable it since we want the OOM to occur during - // the creation of the message port. - execArgv: [ ...process.execArgv, '--no-node-snapshot'] }; const worker = new Worker(__filename, opts); |