8346737: GenShen: Generational memory pools should not report zero for maximum capacity

Reviewed-by: kdnilsen, ysr
This commit is contained in:
William Kemper 2024-12-20 23:51:49 +00:00
parent d562d3c7a9
commit 249f141211
2 changed files with 0 additions and 6 deletions

View File

@ -93,11 +93,6 @@ size_t ShenandoahGenerationalMemoryPool::used_in_bytes() {
return _generation->used();
}
size_t ShenandoahGenerationalMemoryPool::max_size() const {
return _generation->max_capacity();
}
ShenandoahYoungGenMemoryPool::ShenandoahYoungGenMemoryPool(ShenandoahHeap* heap) :
ShenandoahGenerationalMemoryPool(heap,
"Shenandoah Young Gen",

View File

@ -55,7 +55,6 @@ public:
explicit ShenandoahGenerationalMemoryPool(ShenandoahHeap* heap, const char* name, ShenandoahGeneration* generation);
MemoryUsage get_memory_usage() override;
size_t used_in_bytes() override;
size_t max_size() const override;
};
class ShenandoahYoungGenMemoryPool : public ShenandoahGenerationalMemoryPool {