xref: /third_party/node/test/fixtures/workload/grow-and-set-near-heap-limit.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/workload/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ciconst path = require('path');
31cb0ef41Sopenharmony_ciconst v8 = require('v8');
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_civ8.setHeapSnapshotNearHeapLimit(+process.env.limit);
61cb0ef41Sopenharmony_ciif (process.env.limit2) {
71cb0ef41Sopenharmony_ci  v8.setHeapSnapshotNearHeapLimit(+process.env.limit2);
81cb0ef41Sopenharmony_ci}
91cb0ef41Sopenharmony_cirequire(path.resolve(__dirname, 'grow.js'));
10

Indexes created Thu Nov 07 10:32:03 CST 2024