Re: [Sablevm-developer] sablevm
Brought to you by:
egagnon
From: John L. <je...@pi...> - 2000-08-27 22:24:52
|
> John Leuner wrote: > > As a quick solution I just placed a recursive mutex around the method, > > how are you planning to do it? > > In my design, the mutex is in the body of the preparation opcode. As > soon as this opcode is eliminated, no more synchronization happens. So this effectively acquires a mutex for that class and for that method. A very good solution. My mutex blocks any thread in any class trying to resolve a virtual method. John |