Index: test/fuzzer/regexp.cc |
diff --git a/test/fuzzer/regexp.cc b/test/fuzzer/regexp.cc |
index eb51da8ac72d1ab2b3aaadbd9311b8189105032c..64c03aed8efed4e29d23864de37e3dba2bc3135b 100644 |
--- a/test/fuzzer/regexp.cc |
+++ b/test/fuzzer/regexp.cc |
@@ -71,5 +71,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
Test(isolate, regexp, source, results_array); |
} |
+ isolate->RequestGarbageCollectionForTesting( |
+ v8::Isolate::kFullGarbageCollection); |
return 0; |
} |