Print this page
rev 6912 : 8065227: Report allocation context stats at end of cleanup
Summary: Moved allocation context update from remark to the cleanup phase.
Reviewed-by: mgerdin, jmasa

Split Split Close
Expand all
Collapse all
          --- old/hotspot/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp
          +++ new/hotspot/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38    // System wide default context
  39   39    static AllocationContext_t system() {
  40   40      return 0;
  41   41    }
  42   42  };
  43   43  
  44   44  class AllocationContextStats: public StackObj {
  45   45  public:
  46   46    inline void clear() { }
  47   47    inline void update(bool full_gc) { }
  48      -  inline void update_at_remark() { }
       48 +  inline void update_after_mark() { }
  49   49    inline bool available() { return false; }
  50   50  };
  51   51  
  52   52  #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATIONCONTEXT_HPP
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX