8148951: Remove unused method Generation::performs_in_place_marking()
Reviewed-by: david, jwilhelm
This commit is contained in:
parent
5f51924702
commit
433bc5e2bc
@ -285,9 +285,6 @@ protected:
|
||||
// Save the tops for eden, from, and to
|
||||
virtual void record_spaces_top();
|
||||
|
||||
// Doesn't require additional work during GC prologue and epilogue
|
||||
virtual bool performs_in_place_marking() const { return false; }
|
||||
|
||||
// Accessing marks
|
||||
void save_marks();
|
||||
void reset_saved_marks();
|
||||
|
@ -458,7 +458,6 @@ void GenCollectedHeap::do_collection(bool full,
|
||||
prepared_for_verification = true;
|
||||
}
|
||||
|
||||
assert(!_young_gen->performs_in_place_marking(), "No young generation do in place marking");
|
||||
collect_generation(_young_gen,
|
||||
full,
|
||||
size,
|
||||
@ -489,8 +488,6 @@ void GenCollectedHeap::do_collection(bool full,
|
||||
prepare_for_verify();
|
||||
}
|
||||
|
||||
assert(_old_gen->performs_in_place_marking(), "All old generations do in place marking");
|
||||
|
||||
if (do_young_collection) {
|
||||
// We did a young GC. Need a new GC id for the old GC.
|
||||
GCIdMarkAndRestore gc_id_mark;
|
||||
|
@ -309,13 +309,6 @@ class Generation: public CHeapObj<mtGC> {
|
||||
// do nothing.
|
||||
virtual void par_oop_since_save_marks_iterate_done(int thread_num) {}
|
||||
|
||||
// This generation does in-place marking, meaning that mark words
|
||||
// are mutated during the marking phase and presumably reinitialized
|
||||
// to a canonical value after the GC. This is currently used by the
|
||||
// biased locking implementation to determine whether additional
|
||||
// work is required during the GC prologue and epilogue.
|
||||
virtual bool performs_in_place_marking() const { return true; }
|
||||
|
||||
// Returns "true" iff collect() should subsequently be called on this
|
||||
// this generation. See comment below.
|
||||
// This is a generic implementation which can be overridden.
|
||||
|
Loading…
Reference in New Issue
Block a user