RFR (jdk10): JDK-8180175: ObjectSynchronizer only needs to iterate in-use monitors

David Holmes david.holmes at oracle.com
Wed May 17 21:27:10 UTC 2017


On 18/05/2017 5:57 AM, Robbin Ehn wrote:
> On 05/17/2017 05:57 PM, Roman Kennke wrote:
>> Am 16.05.2017 um 09:01 schrieb Robbin Ehn:
>>> On 05/15/2017 11:01 PM, Roman Kennke wrote:
>>>> Ping?
>>>
>>> Looks ok, will look good when we can drop MonitorInUseLists branches.
>>>
>>> Are you handling the deprecation of MonitorInUseLists when CSR becomes
>>> available?
>>
>> We don't have to stall this RFR until CSR becomes available though,
>> right?
>
> Right, create a new enhancement for that and when CSR becomes available
> you should be able create a CSR in jira for that via some menu.
> And first changeset for that is just to add an deprecation warning if
> someone does -XX:-MonitorInUseLists.

Not sure we need to rush in to deprecating the flag until we have seen 
in practice how this works in the wild. If there are cases where we 
still want to not use MonitorInUseLists then we need to keep the flag live.

>> Any reviewer wants to give it a review?

I've looked at it and it seems reasonable.

Thanks,
David

>>
>> Cheers, Roman
>>


More information about the hotspot-runtime-dev mailing list