--- old/src/hotspot/share/gc/g1/g1AllocRegion.hpp 2018-02-26 11:03:48.493725691 +0100 +++ new/src/hotspot/share/gc/g1/g1AllocRegion.hpp 2018-02-26 11:03:48.213714623 +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.