Open Bug 1924236 Opened 1 month ago Updated 1 month ago

Actually GC in TestUtils::Gc

Categories

(Testing :: web-platform-tests, task)

task

Tracking

(Not tracked)

People

(Reporter: sfink, Unassigned)

Details

I noticed in bug 1822411 that TestUtils::Gc only ends up calling JS_MaybeGC, which will only do a collection if certain memory thresholds are reached. In practice, it probably doesn't GC most of the time.

I don't know if always collecting would slow tests down too much, but it sounds like this isn't the intended behavior.

You need to log in before you can comment on or make changes to this bug.