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

8260416: Remove unused method ReferenceProcessor::is_mt_processing_set_up() #2591

Closed
wants to merge 1 commit into from
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/shared/referenceProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,6 @@ void ReferenceProcessor::balance_queues(DiscoveredList ref_lists[])
#endif
}

bool ReferenceProcessor::is_mt_processing_set_up(AbstractRefProcTaskExecutor* task_executor) const {
return task_executor != NULL && _processing_is_mt;
}

void ReferenceProcessor::process_soft_ref_reconsider(BoolObjectClosure* is_alive,
OopClosure* keep_alive,
VoidClosure* complete_gc,
Expand All @@ -782,7 +778,6 @@ void ReferenceProcessor::process_soft_ref_reconsider(BoolObjectClosure* is_alive

size_t const num_soft_refs = total_count(_discoveredSoftRefs);
phase_times->set_ref_discovered(REF_SOFT, num_soft_refs);

phase_times->set_processing_is_mt(_processing_is_mt);

if (num_soft_refs == 0) {
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/shared/referenceProcessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,6 @@ class ReferenceProcessor : public ReferenceDiscoverer {

bool is_subject_to_discovery(oop const obj) const;

bool is_mt_processing_set_up(AbstractRefProcTaskExecutor* task_executor) const;

public:
// Default parameters give you a vanilla reference processor.
ReferenceProcessor(BoolObjectClosure* is_subject_to_discovery,
Expand Down