MCPcopy Index your code
hub / github.com/nodejs/node / flushPool

Function flushPool

test/parallel/test-http-parser-bad-ref.js:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17let messagesComplete = 0;
18
19function flushPool() {
20 Buffer.allocUnsafe(Buffer.poolSize - 1);
21 globalThis.gc();
22}
23
24function demoBug(part1, part2) {
25 flushPool();

Callers 1

demoBugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…