Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8277371: Remove unnecessary DefNewGeneration::ref_processor_init()

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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();
@@ -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
@@ -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;