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