Skip to content

Commit

Permalink
8324240: Remove unused GrowableArrayView::EMPTY
Browse files Browse the repository at this point in the history
Reviewed-by: dcubed
  • Loading branch information
Kim Barrett committed Jan 21, 2024
1 parent 68b5aab commit a474b37
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/hotspot/share/utilities/growableArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ class GrowableArrayView : public GrowableArrayBase {
~GrowableArrayView() {}

public:
const static GrowableArrayView EMPTY;

bool operator==(const GrowableArrayView<E>& rhs) const {
if (_len != rhs._len)
return false;
Expand Down Expand Up @@ -350,9 +348,6 @@ class GrowableArrayView : public GrowableArrayBase {
}
};

template<typename E>
const GrowableArrayView<E> GrowableArrayView<E>::EMPTY(nullptr, 0, 0);

template <typename E>
class GrowableArrayFromArray : public GrowableArrayView<E> {
public:
Expand Down

1 comment on commit a474b37

@openjdk-notifier
Copy link

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.