Nullpointers not checked
Christian Thalinger
Christian.Thalinger at Sun.COM
Fri Mar 12 05:21:25 PST 2010
On Mon, 2010-03-08 at 10:30 +0100, Christian Thalinger wrote:
> On Sun, 2010-03-07 at 09:04 +0100, Helmut Eller wrote:
> > The attached program crashes with this message:
> >
> > #
> > # A fatal error has been detected by the Java Runtime Environment:
> > #
> > # Internal Error (sharedRuntime.cpp:586), pid=4116, tid=3072834448
> > # Error: guarantee(cb->is_adapter_blob(),"exception happened outside interpreter, nmethods and vtable stubs (1)")
> > #
> > # JRE version: 7.0
> > # Java VM: OpenJDK Server VM (17.0-b05 interpreted mode linux-x86 )
> > # An error report file with more information is saved as:
> > # /tmp/hs_err_pid4116.log
>
> Yes, that is a bug. The null-pointer check is there but the implicit
> null-pointer exception in the MethodHandle adapter is not recognized.
>
> I will fix that as part of 6932091.
The fix got bigger than I thought so I created a new bug for this:
6934494: JSR 292 MethodHandles adapters should be generated into their
own CodeBlob
Review will happen on the hotspot-compiler-dev alias.
-- Christian
More information about the mlvm-dev
mailing list