hg: mlvm/mlvm/jdk: coro: experimental coroutine thread migration and serialization
Christian Thalinger
christian.thalinger at oracle.com
Thu Dec 23 03:36:23 PST 2010
On Dec 23, 2010, at 12:09 PM, Jim Laskey wrote:
> 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
That seems to be a problem in meth-conv-6939861. MethodHandles::verify_klass should use jcc instead of jccb. John, will you fix it or should I take care of it?
-- Christian
More information about the mlvm-dev
mailing list