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.
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.