[8] RFR: Shenandoah: specialize String Table scans for better pause performance
Zhengyu Gu
zgu at redhat.com
Tue May 19 11:45:48 UTC 2020
On 5/19/20 7:43 AM, Aleksey Shipilev wrote:
> On 5/19/20 1:34 PM, Zhengyu Gu wrote:
>> 935 assert(UseShenandoahGC, "Only for Shenandoah");
>> 936 const int chunk_size = limit / (ParallelGCThreads * 10);
>> 937
>>
>> Maybe need to guard against minimum chunk_size? even through, it is
>> unlikely, but possible chunk_size == 0.
>
> Oh yeah. Let's do this:
> const int chunk_size = MAX2(ClaimChunkSize, limit / (ParallelGCThreads * 10));
>
Looks good.
-Zhengyu
>
More information about the shenandoah-dev
mailing list