Skip to content

Commit

Permalink
8298145: Remove ContiguousSpace::capacity
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl
  • Loading branch information
albertnetymk committed Dec 6, 2022
1 parent 84b927a commit 2243646
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/gc/shared/space.hpp
Expand Up @@ -468,7 +468,6 @@ class ContiguousSpace: public CompactibleSpace {
void check_mangled_unused_area_complete() PRODUCT_RETURN;

// Size computations: sizes in bytes.
size_t capacity() const { return byte_size(bottom(), end()); }
size_t used() const override { return byte_size(bottom(), top()); }
size_t free() const override { return byte_size(top(), end()); }

Expand Down

1 comment on commit 2243646

@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.