RFR: 8210711: Remove unused offset getters in ThreadLocalAllocBuffer

Per Liden per.liden at oracle.com
Thu Sep 13 11:48:35 UTC 2018


Thanks Thomas!

/Per

On 09/13/2018 01:37 PM, Thomas Schatzl wrote:
> 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