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

AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU

XMLWordPrintable

    • master
    • aarch64
    • linux

      On a Cavium ThunderX2 CPU
      CPU: total 16 (initial active 16) 0x43:0x1:0x0af:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse

      We run into guarantees like this, e.g. when running test compiler/gcbarriers/TestArrayCopyWithLargeObjectAlignment ; looks like the Hotspot :tier1 tests triggering the issue use ZGC.
      Guarantee and stack :

      #
      # Internal Error (codeBuffer.cpp:1005), pid=65619, tid=65628
      # guarantee(sect->end() <= tend) failed: sanity
      #
      # JRE version: (25.0) (build )

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x5c4a90] CodeBuffer::verify_section_allocation()+0x390 (codeBuffer.cpp:1005)
      V [libjvm.so+0x5c4abc] CodeBuffer::~CodeBuffer()+0x1c (codeBuffer.cpp:128)
      V [libjvm.so+0xe461b0] initialize_stubs(StubGenBlobId, int, int, char const*, char const*, char const*) [clone .constprop.0]+0x18c (stubRoutines.cpp:244)
      V [libjvm.so+0xe466a8] final_stubs_init()+0x48 (stubRoutines.cpp:262)
      V [libjvm.so+0x846b4c] init_globals2()+0x5c (init.cpp:195)
      V [libjvm.so+0xec2438] Threads::create_vm(JavaVMInitArgs*, bool*)+0x308 (threads.cpp:612)
      V [libjvm.so+0x9170dc] JNI_CreateJavaVM+0x7c (jni.cpp:3587)
      C [libjli.so+0x3d50] JavaMain+0x80 (java.c:1506)
      C [libjli.so+0x773c] ThreadJavaMain+0xc (java_md.c:646)

            adinn Andrew Dinn
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: