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

C2: assert(alias_idx >= Compile::AliasIdxRaw) failed: must not disturb base_memory or sentinel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 16
    • hotspot
    • None

      Running with -XX:+VerifyAliases immediately hits assert:

      # Internal Error (open/src/hotspot/share/opto/memnode.cpp:4736), pid=19888, tid=19901
      # assert(alias_idx >= Compile::AliasIdxRaw) failed: must not disturb base_memory or sentinel

      V [libjvm.so+0x113bf94] verify_memory_slice(MergeMemNode const*, int, Node*) [clone .part.199]+0xf4
      V [libjvm.so+0x1142e20] MergeMemNode::set_memory_at(unsigned int, Node*)+0xd0
      V [libjvm.so+0xb4a2a6] GraphKit::store_to_memory(Node*, Node*, Node*, BasicType, int, MemNode::MemOrd, bool, bool, bool, bool)+0x1c6
      V [libjvm.so+0xb3bf76] GraphKit::gen_stub(unsigned char*, char const*, int, bool, bool)+0x966
      V [libjvm.so+0x871d8f] Compile::Compile(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, bool, bool, bool, DirectiveSet*)+0x8cf
      V [libjvm.so+0x1396b17] OptoRuntime::generate_stub(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, bool, bool, bool)+0x147
      V [libjvm.so+0x1396fdb] OptoRuntime::generate(ciEnv*)+0x3b
      V [libjvm.so+0x6e3c2f] C2Compiler::init_c2_runtime()+0x11f
      V [libjvm.so+0x6e3d25] C2Compiler::initialize()+0x25

      Reproduces with: java -XX:+VerifyAliases

            Unassigned Unassigned
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: