src/hotspot/share/gc/g1/g1AllocRegion.hpp
changeset 49323 565336327354
parent 48402 945332d45710
child 49392 2956d0ece7a9
--- 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.