2 ms·
No, their code adjusts the GOGC value. The code fragment, as I understand, just shows how to essentially get a notification every time the GC runs.
by atombender 5y ago
No, their code adjusts the GOGC value. The code fragment, as I understand, just shows how to essentially get a notification every time the GC runs.