RFR: 8210711: Remove unused offset getters in ThreadLocalAllocBuffer

Thomas Schatzl thomas.schatzl at oracle.com
Thu Sep 13 11:37:15 UTC 2018


Hi,

On Thu, 2018-09-13 at 13:14 +0200, Per Liden wrote:
> The following offset getters in ThreadLocalAllocBuffer are unused
> and can be removed. They are left-overs from when we had
> FastTLABRefill support. I stumbled over these when working on an
> unrelated TLAB change,  so I broke this out into a separate patch.
> 
> static ByteSize size_offset();
> static ByteSize refill_waste_limit_offset();
> static ByteSize number_of_refills_offset();
> static ByteSize fast_refill_waste_offset();
> static ByteSize slow_allocations_offset();
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8210711
> Webrev: http://cr.openjdk.java.net/~pliden/8210711/webrev.0
> 

  looks good to me.

Thomas


More information about the hotspot-gc-dev mailing list