Re: request for advice: safepoints in the JSR 292 spec

2010-12-14 Thread John Rose
On Dec 13, 2010, at 12:19 AM, Rémi Forax wrote: > On 12/12/2010 05:02 PM, Rich Hickey wrote: >> Rémi's synchronized block only coordinates the activities of updaters. >> Other threads may, and in some cases may have to, see some of the >> setTarget results prior to the sync call, which could be a

Re: Spurious NPE in guardWithTest

2010-12-14 Thread Rémi Forax
On 12/14/2010 06:10 PM, Christian Thalinger wrote: > On Dec 14, 2010, at 6:02 PM, Rémi Forax wrote: >> With the jdk7b121, sometimes when I call a MH created with guardWith, it >> get a NPE because the target is NULL :( >> >> groovy examples/mixin.groovy >> >> java.lang.NullPointerException >>

Re: Spurious NPE in guardWithTest

2010-12-14 Thread Christian Thalinger
On Dec 14, 2010, at 6:02 PM, Rémi Forax wrote: > With the jdk7b121, sometimes when I call a MH created with guardWith, it > get a NPE because the target is NULL :( > > groovy examples/mixin.groovy > > java.lang.NullPointerException > at > sun.dyn.MethodHandleImpl$GuardWithTest.invoke_L1(Met

Spurious NPE in guardWithTest

2010-12-14 Thread Rémi Forax
With the jdk7b121, sometimes when I call a MH created with guardWith, it get a NPE because the target is NULL :( groovy examples/mixin.groovy java.lang.NullPointerException at sun.dyn.MethodHandleImpl$GuardWithTest.invoke_L1(MethodHandleImpl.java:963) at java.dyn.MethodHandle.invokeVa