[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unstructured locking bug
From: |
Tom Tromey |
Subject: |
Re: Unstructured locking bug |
Date: |
14 Mar 2005 14:18:00 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Bryce" == Bryce McKinlay <address@hidden> writes:
Bryce> Certainly, bytecode isn't allowed to do this kind of thing, but I'm
Bryce> not sure if the structured locking rules in the VM spec are meant to
Bryce> apply to native code. For example, wait() would be impossible to
Bryce> implement if this were the case, wouldn't it?
I agree with your main point, that it isn't clear that this
restriction is meant to apply to native code. I suppose I would
expect to see a note in the JNI spec about this -- except that the JNI
specification is in general not that precise. (As to wait(), I think
one could plausibly argue that it is a special case, part of the VM.)
Tom
Re: Unstructured locking bug, Etienne Gagnon, 2005/03/14
RE: Unstructured locking bug, David Holmes, 2005/03/14