< prev index next >

src/share/vm/gc/g1/g1AllocRegion.hpp

Print this page

        

*** 32,55 **** class G1CollectedHeap; // 0 -> no tracing, 1 -> basic tracing, 2 -> basic + allocation tracing #define G1_ALLOC_REGION_TRACING 0 - #define G1_ALLOC_REGION_MSG(message) \ - "[%s] %s c: %u b: %s r: " PTR_FORMAT " u: " SIZE_FORMAT, \ - _name, message, _count, BOOL_TO_STR(_bot_updates), \ - p2i(_alloc_region), _used_bytes_before - // A class that holds a region that is active in satisfying allocation // requests, potentially issued in parallel. When the active region is // full it will be retired and replaced with a new one. The // implementation assumes that fast-path allocations will be lock-free // and a lock will need to be taken when the active region needs to be // replaced. class G1AllocRegion VALUE_OBJ_CLASS_SPEC { - friend class ar_ext_msg; private: // The active allocating region we are currently allocating out // of. The invariant is that if this object is initialized (i.e., // init() has been called and release() has not) then _alloc_region --- 32,49 ----
< prev index next >