DescriptionFix some leaks and failures under valgrind in JS extensions unit tests.
This change:
- Adds running the GC until the v8 heap size reaches steady state during
ModuleSystemTest::TearDown. This is necessary to ensure that
gin::Wrappable objects are freed, as finalizers for JS objects aren't
run during isolate shut down.
- Removes a racy check that failed under valgrind.
BUG=389016, 406487
Committed: https://crrev.com/32a6fc7d37cf7c6e921779664bc02bbc353add57
Cr-Commit-Position: refs/heads/master@{#294779}
Patch Set 1 #
Total comments: 4
Patch Set 2 : more gc #
Total comments: 3
Patch Set 3 : SetUp #
Messages
Total messages: 17 (1 generated)
|