RFR: Deflate idle monitors per thread

Aleksey Shipilev shade at redhat.com
Mon May 15 19:33:31 UTC 2017


On 05/15/2017 09:32 PM, Roman Kennke wrote:
> CC'ing Aleksey. OpenJDK lists are down atm.
> 
> Roman
> 
> Am 15.05.2017 um 21:21 schrieb Roman Kennke:
>> Current idle monitor deflation happens when all thread have arrived at
>> safepoint, but is single-threaded by the VM thread. This patch
>> implements per-thread idle monitor deflation. This will deflate monitors
>> when GC calls into Thread::oops_do() or possibly_parallel_oops_do(), and
>> utilizes the GC worker threads to deflate monitors. This should
>> parallelize well, and behave better on caches (synchronizer roots are
>> scanned right after deflation!). All is enabled by
>> -XX:+DeflateIdleMonitorsPerThread.
>>
>> http://cr.openjdk.java.net/~rkennke/deflate-per-thread/webrev.00/

Looks good.

-Aleksey




More information about the shenandoah-dev mailing list