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: rkennke
Backport-of: 31c4e03d5d4682a10825bd7cf2d37971e686b31e
  • Loading branch information
shipilev committed Oct 4, 2023
1 parent f455049 commit 6000176
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

0 comments on commit 6000176

Please sign in to comment.