When performanceEntry.entryType is equal to 'gc', the performance.flags property contains additional information about garbage collection operation. See perf_hooks.constants for valid values.
performanceEntry.entryType
performance.flags