Skip to content

Commit

Permalink
8298169: Remove unused methods in space.hpp
Browse files Browse the repository at this point in the history
Reviewed-by: stefank
  • Loading branch information
albertnetymk committed Dec 7, 2022
1 parent 221e1a4 commit 80cbfab
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/hotspot/share/gc/shared/space.hpp
Expand Up @@ -132,7 +132,6 @@ class Space: public CHeapObj<mtGC> {

// Testers
bool is_empty() const { return used() == 0; }
bool not_empty() const { return used() > 0; }

// Returns true iff the given the space contains the
// given address as part of an allocated object. For
Expand Down Expand Up @@ -285,15 +284,6 @@ class DirtyCardToOopClosure: public MemRegionClosureRO {
}

void do_MemRegion(MemRegion mr) override;

void set_min_done(HeapWord* min_done) {
_min_done = min_done;
}
#ifndef PRODUCT
void set_last_bottom(HeapWord* last_bottom) {
_last_bottom = last_bottom;
}
#endif
};

// A structure to represent a point at which objects are being copied
Expand Down Expand Up @@ -396,13 +386,6 @@ class CompactibleSpace: public Space {
// space.
virtual HeapWord* forward(oop q, size_t size, CompactPoint* cp,
HeapWord* compact_top);

// Return a size with adjustments as required of the space.
virtual size_t adjust_object_size_v(size_t size) const { return size; }

void set_first_dead(HeapWord* value) { _first_dead = value; }
void set_end_of_live(HeapWord* value) { _end_of_live = value; }

protected:
// Used during compaction.
HeapWord* _first_dead;
Expand Down

1 comment on commit 80cbfab

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