Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/hotspot/share/gc/serial/tenuredGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,6 @@ void TenuredGeneration::shrink(size_t bytes) {
name(), old_mem_size/K, new_mem_size/K);
}

// Objects in this generation may have moved, invalidate this
// generation's cards.
void TenuredGeneration::invalidate_remembered_set() {
_rs->invalidate(used_region());
}

void TenuredGeneration::compute_new_size_inner() {
assert(_shrink_factor <= 100, "invalid shrink factor");
size_t current_shrink_factor = _shrink_factor;
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/serial/tenuredGeneration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ class TenuredGeneration: public Generation {
public:
virtual void compute_new_size();

virtual void invalidate_remembered_set();

// Grow generation with specified size (returns false if unable to grow)
bool grow_by(size_t bytes);
// Grow generation to reserved size.
Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/shared/generation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,6 @@ class Generation: public CHeapObj<mtGC> {
// each.
virtual void object_iterate(ObjectClosure* cl);

// Inform a generation that some of its objects have moved. [e.g. The
// generation's spaces were compacted, invalidating the card table.]
virtual void invalidate_remembered_set() { }

// Block abstraction.

// Returns the address of the start of the "block" that contains the
Expand Down