src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 47636 52d46d7e3454
parent 47624 b055cb5170f5
child 47819 ee36a8e36561
child 55767 8e22715afabc
--- a/src/hotspot/share/gc/shared/collectedHeap.hpp	Mon Oct 16 23:23:27 2017 -0700
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp	Tue Oct 17 08:51:55 2017 +0200
@@ -221,6 +221,10 @@
   // Stop any onging concurrent work and prepare for exit.
   virtual void stop() {}
 
+  // Stop and resume concurrent GC threads interfering with safepoint operations
+  virtual void safepoint_synchronize_begin() {}
+  virtual void safepoint_synchronize_end() {}
+
   void initialize_reserved_region(HeapWord *start, HeapWord *end);
   MemRegion reserved_region() const { return _reserved; }
   address base() const { return (address)reserved_region().start(); }