Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205105

VM crashes with "assert(Universe::heap()->is_in_reserved(start + words - 1)) failed: not in heap"

XMLWordPrintable

    • b19

        The following tests crash intermittently with Graal as JIT:
        - compiler/stringopts/TestStringObjectInitialization.java
        - compiler/loopopts/TestOverunrolling.java

        # Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S314/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5e3cf40d-2f9b-4333-b09e-e9f017fd92dd/runs/c6846ff4-fdea-4486-8dcb-94c919ad0371/workspace/open/src/hotspot/share/gc/shared/collectedHeap.cpp:490), pid=17051, tid=17189
        # assert(Universe::heap()->is_in_reserved(start + words - 1)) failed: not in heap

        Current thread (0x00007ffa580a3800): JavaThread "Thread-67" [_thread_in_vm, id=17189, stack(0x00007ff9c20e1000,0x00007ff9c21e2000)]

        Stack: [0x00007ff9c20e1000,0x00007ff9c21e2000], sp=0x00007ff9c21dfae0, free space=1018k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x189ee2f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x25f
        V [libjvm.so+0x189fc4f] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
        V [libjvm.so+0xb28500] report_vm_error(char const*, int, char const*, char const*, ...)+0x100
        V [libjvm.so+0xa3c44c] CollectedHeap::fill_args_check(HeapWord*, unsigned long)+0x12c
        V [libjvm.so+0xa3c71f] CollectedHeap::fill_with_dummy_object(HeapWord*, HeapWord*, bool)+0x2f
        V [libjvm.so+0x17e4d9d] ThreadLocalAllocBuffer::make_parsable(bool, bool)+0x18d
        V [libjvm.so+0xa3fb24] CollectedHeap::allocate_from_tlab_slow(Klass*, unsigned long, Thread*)+0x2d4
        V [libjvm.so+0xa40a1f] CollectedHeap::obj_allocate_raw(Klass*, unsigned long, bool*, Thread*)+0x2ff
        V [libjvm.so+0x1812ca1] TypeArrayKlass::allocate_common(int, bool, Thread*)+0x211
        V [libjvm.so+0x14c2479] oopFactory::new_typeArray(BasicType, int, Thread*)+0xb9
        V [libjvm.so+0x84a947] Runtime1::new_type_array(JavaThread*, Klass*, int)+0x187
        v ~RuntimeStub::new_type_array Runtime1 stub
        J 203 c1 java.lang.StringUTF16.newBytesFor(I)[B java.base@11-internal (61 bytes) @ 0x00007ffb7bfba685 [0x00007ffb7bfb9fa0+0x00000000000006e5]
        J 182 c1 java.lang.AbstractStringBuilder.<init>(I)V java.base@11-internal (39 bytes) @ 0x00007ffb7bfb20a4 [0x00007ffb7bfb1fe0+0x00000000000000c4]
        J 256 c1 compiler.stringopts.TestStringObjectInitialization$Runner.run()V (52 bytes) @ 0x00007ffb7bfca04c [0x00007ffb7bfc9680+0x00000000000009cc]
        j java.lang.Thread.run()V+11 java.base@11-internal
        v ~StubRoutines::call_stub
        V [libjvm.so+0xeea71a] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x85a
        V [libjvm.so+0xee66cf] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x3df
        V [libjvm.so+0x104baa1] thread_entry(JavaThread*, Thread*)+0x91
        V [libjvm.so+0x17e1df7] JavaThread::thread_main_inner()+0x2c7
        V [libjvm.so+0x17e2139] JavaThread::run()+0x239
        V [libjvm.so+0x14edd00] thread_native_entry(Thread*)+0x100

        Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
        v ~RuntimeStub::new_type_array Runtime1 stub
        J 203 c1 java.lang.StringUTF16.newBytesFor(I)[B java.base@11-internal (61 bytes) @ 0x00007ffb7bfba685 [0x00007ffb7bfb9fa0+0x00000000000006e5]
        J 182 c1 java.lang.AbstractStringBuilder.<init>(I)V java.base@11-internal (39 bytes) @ 0x00007ffb7bfb20a4 [0x00007ffb7bfb1fe0+0x00000000000000c4]
        J 256 c1 compiler.stringopts.TestStringObjectInitialization$Runner.run()V (52 bytes) @ 0x00007ffb7bfca04c [0x00007ffb7bfc9680+0x00000000000009cc]
        j java.lang.Thread.run()V+11 java.base@11-internal
        v ~StubRoutines::call_stub

              iveresov Igor Veresov
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: