Trim Epsilon BarrierSet after upstream changes epsilon-gc-branch
authorshade
Mon, 26 Mar 2018 10:59:34 +0200
branchepsilon-gc-branch
changeset 56349 b67dd1efdb39
parent 56348 f3b0961adb3c
child 56350 56014b46de69
Trim Epsilon BarrierSet after upstream changes
src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp
--- a/src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp	Mon Mar 26 09:56:36 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp	Mon Mar 26 10:59:34 2018 +0200
@@ -27,16 +27,13 @@
 #include "gc/shared/collectorPolicy.hpp"
 #include "gc/shared/barrierSet.hpp"
 
-// Most are no-ops.
+// No interaction with application is required for Epsilon, and therefore
+// the barrier set is mostly empty.
 class EpsilonBarrierSet: public BarrierSet {
   friend class VMStructs;
 
 public:
   EpsilonBarrierSet() : BarrierSet(BarrierSet::FakeRtti(BarrierSet::Epsilon)) {};
-
-  virtual bool is_aligned(HeapWord *addr)  { Unimplemented(); return true; } // no calls for it?
-
-  virtual void resize_covered_region(MemRegion new_region) {}
   virtual void print_on(outputStream *st) const {}
 
   template <DecoratorSet decorators, typename BarrierSetT = EpsilonBarrierSet>