Unsafe: removing the monitorEnter/monitorExit/tryMonitorEnter methods
Paul Sandoz
paul.sandoz at oracle.com
Thu Mar 13 11:21:36 UTC 2014
On Mar 12, 2014, at 10:23 PM, John Rose <john.r.rose at oracle.com> wrote:
> P.S. FTR, I wish we could also remove the per-object monitor from its privileged position, so not all objects are burdened by it, and other forms of lock can be switched into the existing notation on a type-by-type basis. This is obviously a long, long term wish. A starting point is a notion of "this object has no monitor".
Like an instance of a value type?
Paul.
> Probably the keyword cannot be repurposed but would eventually be deprecated. And the Moon will reach Roche limit.
>
> – John
>
>> On Mar 12, 2014, at 2:12 PM, John Rose <john.r.rose at oracle.com> wrote:
>>
>> I think that we've covered all the angles, and that we can remove it.
>>
>> – John
>>
>>> On Mar 12, 2014, at 1:44 PM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>>>
>>>
>>> Currently i cannot find any external uses of it.
More information about the core-libs-dev
mailing list