src/hotspot/share/gc/shared/collectedHeap.hpp
branchstuefe-new-metaspace-branch
changeset 58494 54c1ba464b78
parent 58063 bdf136b8ae0e
parent 58229 722a19a45994
child 59272 54750b448264
equal deleted inserted replaced
58475:e3aa9f95b85e 58494:54c1ba464b78
   232   // code.
   232   // code.
   233   virtual bool is_in(const void* p) const = 0;
   233   virtual bool is_in(const void* p) const = 0;
   234 
   234 
   235   DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); })
   235   DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); })
   236 
   236 
   237   // This function verifies that "addr" is a valid oop location, w.r.t. heap
       
   238   // datastructures such as bitmaps and virtual memory address. It does *not*
       
   239   // check if the location is within committed heap memory.
       
   240   virtual void check_oop_location(void* addr) const;
       
   241 
       
   242   virtual uint32_t hash_oop(oop obj) const;
   237   virtual uint32_t hash_oop(oop obj) const;
   243 
   238 
   244   void set_gc_cause(GCCause::Cause v) {
   239   void set_gc_cause(GCCause::Cause v) {
   245      if (UsePerfData) {
   240      if (UsePerfData) {
   246        _gc_lastcause = _gc_cause;
   241        _gc_lastcause = _gc_cause;