mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 20:29:23 +01:00
733ef4e0ff
PR-URL: https://github.com/nodejs/node/pull/46255 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
18 lines
313 B
JavaScript
18 lines
313 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const { GCProfiler } = require('v8');
|
|
|
|
// Test if it makes the process crash.
|
|
{
|
|
const profiler = new GCProfiler();
|
|
profiler.start();
|
|
profiler.stop();
|
|
profiler.start();
|
|
profiler.stop();
|
|
}
|
|
{
|
|
const profiler = new GCProfiler();
|
|
profiler.start();
|
|
profiler.stop();
|
|
}
|