src/hotspot/share/gc/epsilon/epsilonHeap.hpp
changeset 58015 dd84de796f2c
parent 57903 5e2576c303a2
child 58679 9c3209ff7550
child 59153 1152339c298a
--- a/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Thu Sep 05 08:26:44 2019 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Thu Sep 05 08:26:49 2019 +0200
@@ -136,6 +136,9 @@
     return os::elapsed_counter() / NANOSECS_PER_MILLISEC;
   }
 
+  MemRegion reserved_region() const { return _reserved; }
+  bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }
+
   virtual void print_on(outputStream* st) const;
   virtual void print_tracing_info() const;
   virtual bool print_location(outputStream* st, void* addr) const;