Skip to content

Conversation

eti-p-doray
Copy link

This changes adds a second explicit gc call in the test. Without this call,
the test relies on gc eventually happening based, since the first call
doesn't free the object.
Relying on gc to eventually happen prevents changing GC heuristics unrelated
to this test.
The gc call is async; otherwise doing multiple sync GCs doesn't free the object.

@mlippautz mlippautz merged commit 0766211 into v8:node-ci-2024-04-23 Jun 3, 2024
isheludko pushed a commit to isheludko/node that referenced this pull request Jun 3, 2024
* Fix test-http-server-keepalive-req-gc

* Format

---------

Co-authored-by: Etienne Pierre-doray <[email protected]>
victorgomes pushed a commit that referenced this pull request Jun 3, 2024
…#189)

* Fix test-http-server-keepalive-req-gc

* Format

---------

Co-authored-by: Etienne Pierre-Doray <[email protected]>
Co-authored-by: Etienne Pierre-doray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants