Skip to content
Permalink
Browse files
8260416: Remove unused method ReferenceProcessor::is_mt_processing_se…
…t_up()

Reviewed-by: ayang, kbarrett
  • Loading branch information
lkorinth committed Feb 18, 2021
1 parent 3a21e1d commit 1a7adc86427bd5aa958125435ad2242910803417
Showing with 0 additions and 7 deletions.
  1. +0 −5 src/hotspot/share/gc/shared/referenceProcessor.cpp
  2. +0 −2 src/hotspot/share/gc/shared/referenceProcessor.hpp
@@ -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,
@@ -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) {
@@ -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,

1 comment on commit 1a7adc8

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 1a7adc8 Feb 18, 2021

Please sign in to comment.