Index: test/fuzzer/json.cc |
diff --git a/test/fuzzer/json.cc b/test/fuzzer/json.cc |
index e45453a393e5c881176715cd2e5decfcb5d70d25..121939b5a0ea5da9ef52169ec023ae2b4fe87068 100644 |
--- a/test/fuzzer/json.cc |
+++ b/test/fuzzer/json.cc |
@@ -27,5 +27,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
} |
v8::JSON::Parse(support->GetContext(), source).IsEmpty(); |
+ isolate->RequestGarbageCollectionForTesting( |
+ v8::Isolate::kFullGarbageCollection); |
return 0; |
} |