diff options
Diffstat (limited to 'runtime/gc/space/malloc_space.h')
-rw-r--r-- | runtime/gc/space/malloc_space.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/gc/space/malloc_space.h b/runtime/gc/space/malloc_space.h index 2fbd5f0..06239e5 100644 --- a/runtime/gc/space/malloc_space.h +++ b/runtime/gc/space/malloc_space.h @@ -110,6 +110,10 @@ class MallocSpace : public ContinuousMemMapAllocSpace { return GetMemMap()->Size(); } + // Change the non growth limit capacity by shrinking or expanding the map. Currently, only + // shrinking is supported. + void ClampGrowthLimit(); + void Dump(std::ostream& os) const; void SetGrowthLimit(size_t growth_limit); |