Version
latest main branch
Platform
Subsystem
v8
What steps will reproduce the bug?
'use strict';
const { GCProfiler } = require('node:v8');
const profiler = new GCProfiler();
profiler.start();
globalThis.gc({
type: 'minor',
execution: 'sync',
});
const profile = profiler.stop();
console.log(profile.statistics.map(({ gcType }) => gcType));
node --expose-gc --minor-ms repro.js
How often does it reproduce? Is there a required condition?
Every
What is the expected behavior? Why is that the expected behavior?
[ 'MinorMarkSweep' ]
What do you see instead?
[ 'Unknown' ]
Additional information
No response
Version
latest main branch
Platform
Subsystem
v8
What steps will reproduce the bug?
node --expose-gc --minor-ms repro.js
How often does it reproduce? Is there a required condition?
Every
What is the expected behavior? Why is that the expected behavior?
[ 'MinorMarkSweep' ]
What do you see instead?
[ 'Unknown' ]
Additional information
No response