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

VM crashes if -XX:-ReduceInitialCardMarks is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u92, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b126

      Description

      Running test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java with -XX:-ReduceInitialCardMarks crashes the VM with the following assert:

      # Internal Error (/oracle/full_jdk_build/hotspot/src/share/vm/opto/macro.cpp:266), pid=28313, tid=28333
      # assert(xorx != __null) failed: missing G1 post barrier

      Current CompileTask:
      C2: 4177 735 b 4 TestInstanceCloneAsLoadsStores::m2 (34 bytes)

      Stack: [0x00007fa9fc2fe000,0x00007fa9fc3ff000], sp=0x00007fa9fc3f9540, free space=1005k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13c7d2f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x18f
      V [libjvm.so+0x13c8a9a] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
      V [libjvm.so+0x9496ca] report_vm_error(char const*, int, char const*, char const*, ...)+0xea
      V [libjvm.so+0xf284c1] PhaseMacroExpand::eliminate_card_mark(Node*)+0x811
      V [libjvm.so+0xf2aefb] PhaseMacroExpand::process_users_of_allocation(CallNode*)+0x3ab
      V [libjvm.so+0xf32c4a] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*)+0x3ea
      V [libjvm.so+0xf3317c] PhaseMacroExpand::eliminate_macro_nodes()+0x3bc
      V [libjvm.so+0x8cf7ab] Compile::Optimize()+0xa7b

        Attachments

        1. graph.png
          graph.png
          39 kB
        2. hs_err_pid22570.log
          39 kB
        3. hs_err_pid28313.log
          70 kB
        4. hs_err_pid30301.log
          70 kB
        5. replay_pid22570.log
          113 kB
        6. replay_pid28313.log
          111 kB

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: