JVM Internal Error when running simple lambda

Rémi Forax forax at univ-mlv.fr
Thu Jan 27 06:45:19 PST 2011


Hi Tomasz,
I was able to reproduce the bug,
it only appear with a fastdebug VM not with a product VM.

So it's perhaps just a grumpy assert :)

Rémi
PS: I've CC to mlvm and put the two necessary classes to reproduce the 
bug as attachment.

[forax at localhost src]$ /usr/jdk/fastdebug/jdk1.7.0/fastdebug/bin/java 
-XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic SimpleExtractor
VM option '+UnlockExperimentalVMOptions'
VM option '+EnableInvokeDynamic'
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/methodOop.cpp:697
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error 
(/HUDSON/workspace/jdk7-2-build-linux-amd64-product/jdk7/hotspot/src/share/vm/oops/methodOop.cpp:697), 
pid=30242, tid=139776680441600
#  assert(_adapter == NULL) failed: init'd to NULL
#
# JRE version: 7.0-b126
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b06-fastdebug mixed 
mode linux-amd64 compressed oops)
# An error report file with more information is saved as:
# /home/forax/java/workspace/java-blog/src/hs_err_pid30242.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 139776680441600
Dumping core ...
Aborted (core dumped)


On 01/27/2011 02:25 PM, Tomasz Kowalczewski wrote:
> Running JDK 7 build 126 (fastdebug) on 32bit windows and latest
> langtools from lambda repository. When executing following code:
>
> public class SimpleExtractor {
>
>    public static void main( String[] args ) {
>      Extractor x = (Extractor) SimpleExtractor#getArgCount;
>      x.extract( new SimpleExtractor() );
>    }
>
>    public int getArgCount() {
>      return 0;
>    }
> }
>
> abstract class Extractor {
>
>    public abstract int extract( SimpleExtractor lambda );
> }
>
> I get:
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error
> (C:\jdk7_32P\jdk7\hotspot\src\share\vm\oops\methodOop.cpp:697),
> pid=8024, tid=6900
> #  assert(_adapter == NULL) failed: init'd to NULL
>
> Full report attached.
>
>
>
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SimpleExtractor.java
Url: http://mail.openjdk.java.net/pipermail/lambda-dev/attachments/20110127/3d238c17/attachment-0002.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hs_err_pid30242.log
Url: http://mail.openjdk.java.net/pipermail/lambda-dev/attachments/20110127/3d238c17/attachment-0003.ksh 


More information about the lambda-dev mailing list