Unsafe: removing the monitorEnter/monitorExit/tryMonitorEnter methods

David M. Lloyd david.lloyd at redhat.com
Thu Feb 27 19:06:55 UTC 2014


On 02/27/2014 11:36 AM, Paul Sandoz wrote:
> Hi David,
>
> On Feb 27, 2014, at 3:24 PM, David M. Lloyd <david.lloyd at redhat.com> wrote:
>>   (I'm the guy that wrote JBoss Modules, i.e. apparently the one usage "in the wild" of these methods).
>>
>
> Yes :-) the only one i have found so far.
>
> IIUC JBoss Modules only needs to use those methods on Java 1.6, is that correct?

Right, to recursively release the lock (which, btw, in general, is a 
very dicey thing to do for reasons obvious and non-obvious).

-- 
- DML



More information about the core-libs-dev mailing list