--- a/src/hotspot/share/gc/g1/heapRegion.hpp Fri Mar 02 10:09:05 2018 +0100
+++ b/src/hotspot/share/gc/g1/heapRegion.hpp Fri Mar 02 10:09:08 2018 +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"
@@ -233,8 +232,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.
@@ -473,14 +470,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