mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 22:48:35 +00:00
8279522: Serial: Remove unused Generation::clear_remembered_set
Reviewed-by: iwalulya, mli
This commit is contained in:
parent
4aefd8b8b6
commit
5fa13bb4a3
@ -174,11 +174,6 @@ void CardGeneration::shrink(size_t bytes) {
|
||||
name(), old_mem_size/K, new_mem_size/K);
|
||||
}
|
||||
|
||||
// No young generation references, clear this generation's cards.
|
||||
void CardGeneration::clear_remembered_set() {
|
||||
_rs->clear(reserved());
|
||||
}
|
||||
|
||||
// Objects in this generation may have moved, invalidate this
|
||||
// generation's cards.
|
||||
void CardGeneration::invalidate_remembered_set() {
|
||||
|
||||
@ -71,8 +71,6 @@ class CardGeneration: public Generation {
|
||||
|
||||
virtual void compute_new_size();
|
||||
|
||||
virtual void clear_remembered_set();
|
||||
|
||||
virtual void invalidate_remembered_set();
|
||||
|
||||
virtual void prepare_for_verify();
|
||||
|
||||
@ -422,11 +422,6 @@ class Generation: public CHeapObj<mtGC> {
|
||||
// each.
|
||||
virtual void object_iterate(ObjectClosure* cl);
|
||||
|
||||
// Inform a generation that it longer contains references to objects
|
||||
// in any younger generation. [e.g. Because younger gens are empty,
|
||||
// clear the card table.]
|
||||
virtual void clear_remembered_set() { }
|
||||
|
||||
// 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() { }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user