diff options
Diffstat (limited to 'src/heap.cc')
| -rw-r--r-- | src/heap.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/heap.cc b/src/heap.cc index c6f2395dd3..584c5b2e69 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -2040,8 +2040,7 @@ void Heap::ConcurrentGC(Thread* self) { } } -void Heap::Trim(Thread* self) { - WaitForConcurrentGcToComplete(self); +void Heap::Trim() { alloc_space_->Trim(); } |