< prev index next >
src/hotspot/share/gc/g1/g1AllocRegion.hpp
Print this page
@@ -51,13 +51,10 @@
// then _alloc_region is NULL and this object should not be used to
// satisfy allocation requests (it was done this way to force the
// correct use of init() and release()).
HeapRegion* volatile _alloc_region;
- // Allocation context associated with this alloc region.
- AllocationContext_t _allocation_context;
-
// It keeps track of the distinct number of regions that are used
// for allocation in the active interval of this object, i.e.,
// between a call to init() and a call to release(). The count
// mostly includes regions that are freshly allocated, as well as
// the region that is re-used using the set() method. This count can
@@ -138,13 +135,10 @@
HeapRegion * hr = _alloc_region;
// Make sure that the dummy region does not escape this class.
return (hr == _dummy_region) ? NULL : hr;
}
- void set_allocation_context(AllocationContext_t context) { _allocation_context = context; }
- AllocationContext_t allocation_context() { return _allocation_context; }
-
uint count() { return _count; }
// The following two are the building blocks for the allocation method.
// First-level allocation: Should be called without holding a
< prev index next >