--- a/src/hotspot/share/gc/g1/g1AllocRegion.hpp Fri Mar 02 10:09:05 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1AllocRegion.hpp Fri Mar 02 10:09:08 2018 +0100
@@ -53,9 +53,6 @@
// 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
@@ -140,9 +137,6 @@
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.