ObjectSynchronizer iterate only in-use monitors?

Robbin Ehn robbin.ehn at oracle.com
Thu May 11 07:44:57 UTC 2017


Hi,

We have actually been discussing this last few days:

https://bugs.openjdk.java.net/browse/JDK-8153224

On 05/10/2017 10:41 PM, Roman Kennke wrote:
> 
> If you think what I'm doing is sane, this might even be useful for other
> GCs (although they're probably not as much bound by roots scanning as
> Shenandoah is).

Sane to me at least. I see no reason why we have the "-XX:+MonitorInUseLists" option (assuming always on), is there any case when we do not want this?

Let me know how you plan to continue this!

/Robbin

> 
> Thanks, Roman
> 


More information about the hotspot-runtime-dev mailing list