mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8197993: Remove last use of JavaThread::flush_barrier_queues()
Reviewed-by: tschatzl, eosterlund
This commit is contained in:
parent
676fd0e040
commit
b2de114d80
2 changed files with 2 additions and 14 deletions
|
@ -2027,12 +2027,6 @@ void JavaThread::exit(bool destroy_vm, ExitType exit_type) {
|
|||
}
|
||||
|
||||
#if INCLUDE_ALL_GCS
|
||||
// Flush G1-related queues.
|
||||
void JavaThread::flush_barrier_queues() {
|
||||
satb_mark_queue().flush();
|
||||
dirty_card_queue().flush();
|
||||
}
|
||||
|
||||
void JavaThread::initialize_queues() {
|
||||
assert(!SafepointSynchronize::is_at_safepoint(),
|
||||
"we should not be at a safepoint");
|
||||
|
@ -2076,11 +2070,7 @@ void JavaThread::cleanup_failed_attach_current_thread() {
|
|||
tlab().make_parsable(true); // retire TLAB, if any
|
||||
}
|
||||
|
||||
#if INCLUDE_ALL_GCS
|
||||
if (UseG1GC) {
|
||||
flush_barrier_queues();
|
||||
}
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
BarrierSet::barrier_set()->flush_deferred_barriers(this);
|
||||
|
||||
Threads::remove(this);
|
||||
this->smr_delete();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue