Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index b06b9e0e1a722de4e2dfd36e7b22c845d2163c65..0caec4317268448d4f87ba85537dd78b5ad29ade 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5923,7 +5923,7 @@ class V8_EXPORT Isolate { |
void SetObjectGroupId(internal::Object** object, UniqueId id); |
void SetReferenceFromGroup(UniqueId id, internal::Object** object); |
void SetReference(internal::Object** parent, internal::Object** child); |
- void CollectAllGarbage(const char* gc_reason); |
+ void CollectGarbage(const char* gc_reason); |
}; |
class V8_EXPORT StartupData { |
@@ -8163,7 +8163,7 @@ int64_t Isolate::AdjustAmountOfExternalAllocatedMemory( |
if (change_in_bytes > 0 && |
amount - *amount_of_external_allocated_memory_at_last_global_gc > |
I::kExternalAllocationLimit) { |
- CollectAllGarbage("external memory allocation limit reached."); |
+ CollectGarbage("external memory allocation limit reached."); |
} |
*amount_of_external_allocated_memory = amount; |
return *amount_of_external_allocated_memory; |