Skip to content
Permalink
Browse files
8276100: Remove G1SegmentedArray constructor name parameter
Reviewed-by: ayang
  • Loading branch information
Thomas Schatzl committed Oct 28, 2021
1 parent a343fa8 commit 85d8cd85665d92d67bbc88399baaa8fe7eba14a6
Showing 3 changed files with 3 additions and 5 deletions.
@@ -35,7 +35,7 @@ template <class Elem>
G1CardSetAllocator<Elem>::G1CardSetAllocator(const char* name,
const G1CardSetAllocOptions* buffer_options,
G1CardSetBufferList* free_buffer_list) :
_segmented_array(name, buffer_options, free_buffer_list),
_segmented_array(buffer_options, free_buffer_list),
_transfer_lock(false),
_free_nodes_list(),
_pending_nodes_list(),
@@ -198,8 +198,7 @@ class G1SegmentedArray {

inline uint elem_size() const;

G1SegmentedArray(const char* name,
const G1SegmentedArrayAllocOptions* buffer_options,
G1SegmentedArray(const G1SegmentedArrayAllocOptions* buffer_options,
G1SegmentedArrayBufferList<flag>* free_buffer_list);
~G1SegmentedArray() {
drop_all();
@@ -154,8 +154,7 @@ uint G1SegmentedArray<Elem, flag>::elem_size() const {
}

template <class Elem, MEMFLAGS flag>
G1SegmentedArray<Elem, flag>::G1SegmentedArray(const char* name,
const G1SegmentedArrayAllocOptions* buffer_options,
G1SegmentedArray<Elem, flag>::G1SegmentedArray(const G1SegmentedArrayAllocOptions* buffer_options,
G1SegmentedArrayBufferList<flag>* free_buffer_list) :
_alloc_options(buffer_options),
_first(nullptr),

1 comment on commit 85d8cd8

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 85d8cd8 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.