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
5 changes: 0 additions & 5 deletions src/hotspot/share/gc/serial/defNewGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -878,11 +878,6 @@ void DefNewGeneration::record_spaces_top() {
from()->set_top_for_allocations();
}

void DefNewGeneration::ref_processor_init() {
Generation::ref_processor_init();
}


void DefNewGeneration::update_counters() {
if (UsePerfData) {
_eden_counters->update_all();
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/serial/defNewGeneration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ class DefNewGeneration: public Generation {
size_t max_byte_size,
const char* policy="Serial young collection pauses");

virtual void ref_processor_init();

virtual Generation::Name kind() { return Generation::DefNew; }

// Accessing spaces
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/generation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Generation: public CHeapObj<mtGC> {
};

// allocate and initialize ("weak") refs processing support
virtual void ref_processor_init();
void ref_processor_init();
void set_ref_processor(ReferenceProcessor* rp) {
assert(_ref_processor == NULL, "clobbering existing _ref_processor");
_ref_processor = rp;
Expand Down