RFR: 8198424: Remove G1AllocationContext

Erik Helin erik.helin at oracle.com
Mon Feb 26 11:42:30 UTC 2018

On 02/26/2018 12:14 PM, Stefan Johansson wrote:
> Hi,
> Please review this change to remove G1AllocationContext which no longer 
> is needed.
> Links
> JBS: https://bugs.openjdk.java.net/browse/JDK-8198424
> Webrev: http://cr.openjdk.java.net/~sjohanss/8198424/00/

Looks good, Reviewed.


> Summary
> G1AllocationContext was a very intrusive extension point which made it 
> possible to have allocations mapped to a specific context, keeping this 
> context over GCs. To support this the allocation-contexts are passed 
> around in the G1 code base and it adds a fair bit of complexity. The 
> internal code making use of this has been removed and this allow us to 
> clean up G1 by removing all use of the G1AllocationContext.
> The change is pretty straight forward, the intent is to remove all 
> references to G1AllocationContext.
> Testing
> * Mach5 tier 1-3
> Thanks,
> Stefan

More information about the hotspot-gc-dev mailing list