[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-gc-dev
Subject:    Re: RFR: 8235905: ZGC: Rework how ZRootsIterator visits threads
From:       Per Liden <per.liden () oracle ! com>
Date:       2019-12-13 14:01:30
Message-ID: 996aca1f-b777-247e-f88a-59cadc7e925c () oracle ! com
[Download RAW message or body]

Thanks Stefan!

/Per

On 2019-12-13 13:24, Stefan Karlsson wrote:
> Looks good.
> 
> StefanK
> 
> On 2019-12-13 12:47, Per Liden wrote:
>> In preparation for concurrent thread stack scanning, this patch 
>> reworks how we visit threads during roots scanning, so that the part 
>> visiting Java threads can be easily moved to a concurrent phase at a 
>> later stage.
>>
>> The new ZJavaThreadIterator is also a performance optimization over 
>> Threads::possibly_parallel_threads_do(), since it will do fewer atomic 
>> operations (by a factor of ParallelGCThreads).
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8235905
>> Webrev: http://cr.openjdk.java.net/~pliden/8235905/webrev.0
>>
>> /Per
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic