--- old/src/hotspot/share/gc/g1/heapRegion.hpp 2018-02-26 11:03:52.005864506 +0100 +++ new/src/hotspot/share/gc/g1/heapRegion.hpp 2018-02-26 11:03:51.717853123 +0100 @@ -25,7 +25,6 @@ #ifndef SHARE_VM_GC_G1_HEAPREGION_HPP #define SHARE_VM_GC_G1_HEAPREGION_HPP -#include "gc/g1/g1AllocationContext.hpp" #include "gc/g1/g1BlockOffsetTable.hpp" #include "gc/g1/g1HeapRegionTraceType.hpp" #include "gc/g1/heapRegionTracer.hpp" @@ -232,8 +231,6 @@ // The index of this region in the heap region sequence. uint _hrm_index; - AllocationContext_t _allocation_context; - HeapRegionType _type; // For a humongous region, region in which it starts. @@ -472,14 +469,6 @@ inline bool in_collection_set() const; - void set_allocation_context(AllocationContext_t context) { - _allocation_context = context; - } - - AllocationContext_t allocation_context() const { - return _allocation_context; - } - // Methods used by the HeapRegionSetBase class and subclasses. // Getter and setter for the next and prev fields used to link regions into