8260414: Remove unused set_single_threaded_mode() method in task executor
Reviewed-by: kbarrett, ayang
This commit is contained in:
parent
c6eedda89e
commit
3882fda83b
@ -245,11 +245,6 @@ ReferenceProcessorStats ReferenceProcessor::process_discovered_references(
|
||||
process_phantom_refs(is_alive, keep_alive, complete_gc, task_executor, phase_times);
|
||||
}
|
||||
|
||||
if (task_executor != NULL) {
|
||||
// Record the work done by the parallel workers.
|
||||
task_executor->set_single_threaded_mode();
|
||||
}
|
||||
|
||||
phase_times->set_total_time_ms((os::elapsedTime() - start_time) * 1000);
|
||||
|
||||
return stats;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -633,9 +633,6 @@ public:
|
||||
|
||||
// Executes a task using worker threads.
|
||||
virtual void execute(ProcessTask& task, uint ergo_workers) = 0;
|
||||
|
||||
// Switch to single threaded mode.
|
||||
virtual void set_single_threaded_mode() { };
|
||||
};
|
||||
|
||||
// Abstract reference processing task to execute.
|
||||
|
Loading…
x
Reference in New Issue
Block a user