Skip to content

Commit

Permalink
8314551: More generic way to handshake GC threads with monitor deflation
Browse files Browse the repository at this point in the history
Reviewed-by: jsjolen, eosterlund
  • Loading branch information
rkennke committed Sep 15, 2023
1 parent 89cb290 commit 31c4e03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/runtime/synchronizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "precompiled.hpp"
#include "classfile/vmSymbols.hpp"
#include "gc/shared/suspendibleThreadSet.hpp"
#include "gc/shared/collectedHeap.hpp"
#include "jfr/jfrEvents.hpp"
#include "logging/log.hpp"
#include "logging/logStream.hpp"
Expand Down Expand Up @@ -1641,8 +1641,8 @@ class VM_RendezvousGCThreads : public VM_Operation {
bool evaluate_at_safepoint() const override { return false; }
VMOp_Type type() const override { return VMOp_RendezvousGCThreads; }
void doit() override {
SuspendibleThreadSet::synchronize();
SuspendibleThreadSet::desynchronize();
Universe::heap()->safepoint_synchronize_begin();
Universe::heap()->safepoint_synchronize_end();
};
};

Expand Down

1 comment on commit 31c4e03

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.