hg: mlvm/mlvm/jdk: coro: experimental coroutine thread migration and serialization
Jim Laskey
jlaskey at me.com
Thu Dec 23 03:09:29 PST 2010
I ran into a similar problem.
run:
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.inline.hpp:38
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/cpu/x86/vm/assembler_x86.inline.hpp:38), pid=41614, tid=4298117120
# guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (20.0-b03-fastdebug mixed mode bsd-amd64 compressed oops)
# An error report file with more information is saved as:
# /Projects/nashorn~source/nashorn/hs_err_pid41614.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
VM option '+UnlockExperimentalVMOptions'
VM option '+EnableMethodHandles'
VM option '+EnableInvokeDynamic'
Current thread is 4298117120
Dumping core ...
Thread 1 Crashed:
0 libSystem.B.dylib 0x00007fff87d86669 usleep$NOCANCEL + 0
1 libSystem.B.dylib 0x00007fff87da5cd4 abort + 93
2 libjvm.dylib 0x000000010101856c os::abort(bool) + 236
3 libjvm.dylib 0x000000010101fc91 VMError::report_and_die() + 1377
4 libjvm.dylib 0x000000010100bba4 report_vm_error(char const*, int, char const*, char const*) + 132
5 libjvm.dylib 0x00000001011a3f20 Label::patch_instructions(MacroAssembler*) + 624
6 libjvm.dylib 0x0000000101973862 MethodHandles::verify_klass(MacroAssembler*, RegisterImpl*, KlassHandle, char const*) + 1362
7 libjvm.dylib 0x0000000101973aec MethodHandles::load_klass_from_Class(MacroAssembler*, RegisterImpl*) + 108
8 libjvm.dylib 0x0000000101979eea MethodHandles::generate_method_handle_stub(MacroAssembler*, MethodHandles::EntryKind) + 4346
9 libjvm.dylib 0x00000001019617cb MethodHandles::generate_adapters() + 427
10 libjvm.dylib 0x000000010161ccb4 init_globals() + 260
11 libjvm.dylib 0x0000000101bd3a0d Threads::create_vm(JavaVMInitArgs*, bool*) + 573
12 libjvm.dylib 0x00000001016a8f8b JNI_CreateJavaVM + 155
13 java 0x00000001000022e7 JavaMain + 167
14 libSystem.B.dylib 0x00007fff87cf0536 _pthread_start + 331
15 libSystem.B.dylib 0x00007fff87cf03e9 thread_start + 13
Including hs_err
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid41614.log
Type: application/octet-stream
Size: 5114 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20101223/831b2da7/attachment.obj
-------------- next part --------------
Cheers,
-- Jim
On 2010-12-23, at 4:37 AM, Christian Thalinger wrote:
> Yeah, the hs_err file would help here. -- Christian
>
> On Dec 23, 2010, at 7:30 AM, John Rose wrote:
>> Can you get a backtrace? The question is who is torturing the poor assembler. -- John
>>
>> On Dec 22, 2010, at 10:09 PM, Howard Lovatt wrote:
>>
>>> Hi,
>>>
>>> When I use this version on my lambda test code I get the following error:
>>>
>>> VM option '+UnlockExperimentalVMOptions'
>>> VM option '+EnableMethodHandles'
>>> VM option '+EnableInvokeDynamic'
>>> VM option 'SuppressErrorAt=/constantPoolOop.cpp:283'
>>> # To suppress the following error report, specify this argument
>>> # after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.inline.hpp:38
>>> #
>>> # A fatal error has been detected by the Java Runtime Environment:
>>> #
>>> # Internal Error
>>> (/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/cpu/x86/vm/assembler_x86.inline.hpp:38),
>>> pid=22339, tid=4298117120
>>> # guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
>>> #
>>> # JRE version: 7.0
>>> # Java VM: OpenJDK 64-Bit Server VM (20.0-b03-fastdebug mixed mode
>>> bsd-amd64 compressed oops)
>>> # An error report file with more information is saved as:
>>> # /Users/lov080/Dropbox/Personal/Java/examples/Lambdas/build/classes/hs_err_pid22339.log
>>> #
>>> # If you would like to submit a bug report, please visit:
>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>> #
>>> Current thread is 4298117120
>>> Dumping core ...
>>> ./cr: line 18: 22339 Abort trap $jdk/java -cp
>>> .:$guava:$javac -ea -Xfuture -XX:+UnlockExperimentalVMOptions
>>> -XX:+EnableMethodHandles -XX:+EnableInvokeDynamic
>>> -XX:SuppressErrorAt=/constantPoolOop.cpp:283 $package.Main
>>>
>>> I can give more info if required to help debug the problem.
>>>
>>> Thanks for making a Mac build available.
>>>
>>> -- Howard.
>>> _______________________________________________
>>> mlvm-dev mailing list
>>> mlvm-dev at openjdk.java.net
>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list