From 9769dfecb55d67d5dc53fa52fdb227b483e4152b Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Mon, 4 Dec 2023 14:07:02 +0000 Subject: [PATCH] 8321214: Parallel: Remove unused SpaceInfo::_min_dense_prefix Reviewed-by: kbarrett, tschatzl --- src/hotspot/share/gc/parallel/psParallelCompact.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/hotspot/share/gc/parallel/psParallelCompact.hpp b/src/hotspot/share/gc/parallel/psParallelCompact.hpp index d9644d3ddba..9c1974449e2 100644 --- a/src/hotspot/share/gc/parallel/psParallelCompact.hpp +++ b/src/hotspot/share/gc/parallel/psParallelCompact.hpp @@ -176,9 +176,6 @@ class SpaceInfo // Allows new_top to be set. HeapWord** new_top_addr() { return &_new_top; } - // Where the smallest allowable dense prefix ends (used only for perm gen). - HeapWord* min_dense_prefix() const { return _min_dense_prefix; } - // Where the dense prefix ends, or the compacted region begins. HeapWord* dense_prefix() const { return _dense_prefix; } @@ -190,7 +187,6 @@ class SpaceInfo void set_space(MutableSpace* s) { _space = s; } void set_new_top(HeapWord* addr) { _new_top = addr; } - void set_min_dense_prefix(HeapWord* addr) { _min_dense_prefix = addr; } void set_dense_prefix(HeapWord* addr) { _dense_prefix = addr; } void set_start_array(ObjectStartArray* s) { _start_array = s; } @@ -199,7 +195,6 @@ class SpaceInfo private: MutableSpace* _space; HeapWord* _new_top; - HeapWord* _min_dense_prefix; HeapWord* _dense_prefix; ObjectStartArray* _start_array; SplitInfo _split_info;