From d954f3bd0c918d3583207e522907923a087f8708 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Wed, 3 Apr 2024 10:16:31 +0000 Subject: [PATCH] 8329493: Parallel: Remove unused ParallelArguments::heap_max_size_bytes Reviewed-by: sjohanss --- src/hotspot/share/gc/parallel/parallelArguments.cpp | 4 ---- src/hotspot/share/gc/parallel/parallelArguments.hpp | 1 - 2 files changed, 5 deletions(-) diff --git a/src/hotspot/share/gc/parallel/parallelArguments.cpp b/src/hotspot/share/gc/parallel/parallelArguments.cpp index 0ba81045347..313716752d5 100644 --- a/src/hotspot/share/gc/parallel/parallelArguments.cpp +++ b/src/hotspot/share/gc/parallel/parallelArguments.cpp @@ -133,10 +133,6 @@ size_t ParallelArguments::heap_reserved_size_bytes() { return MaxHeapSize; } -size_t ParallelArguments::heap_max_size_bytes() { - return MaxHeapSize; -} - CollectedHeap* ParallelArguments::create_heap() { return new ParallelScavengeHeap(); } diff --git a/src/hotspot/share/gc/parallel/parallelArguments.hpp b/src/hotspot/share/gc/parallel/parallelArguments.hpp index d23c42b6586..159441be792 100644 --- a/src/hotspot/share/gc/parallel/parallelArguments.hpp +++ b/src/hotspot/share/gc/parallel/parallelArguments.hpp @@ -43,7 +43,6 @@ private: public: static size_t heap_reserved_size_bytes(); - static size_t heap_max_size_bytes(); }; #endif // SHARE_GC_PARALLEL_PARALLELARGUMENTS_HPP