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

Integer overflow with -XX:MinOopMapAllocation=-1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 8
    • hotspot

      java -XX:MinOopMapAllocation=-1 -version

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/workspace/open/src/hotspot/share/utilities/growableArray.cpp:31), pid=1828674, tid=1828675
      # assert(max >= 0) failed: integer overflow
      #
      # JRE version: (25.0+26) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+26-LTS-3300, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xf58f6a] GrowableArrayResourceAllocator::allocate(int, int)+0x4a

      Stack: [0x0000782f3a900000,0x0000782f3aa00000], sp=0x0000782f3a9fc7b0, free space=1009k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xf58f6a] GrowableArrayResourceAllocator::allocate(int, int)+0x4a (growableArray.cpp:31)
      V [libjvm.so+0x172ff07] OopMapSet::OopMapSet()+0x27
      V [libjvm.so+0x191aa2a] SharedRuntime::generate_throw_exception(SharedStubId, unsigned char*)+0x4aa
      V [libjvm.so+0x18fa495] SharedRuntime::generate_initial_stubs()+0x15
      V [libjvm.so+0xfd759b] init_globals()+0x4b
      V [libjvm.so+0x1af1cde] Threads::create_vm(JavaVMInitArgs*, bool*)+0x34e
      V [libjvm.so+0x119c9f4] JNI_CreateJavaVM+0x54
      C [libjli.so+0x3dff] JavaMain+0x8f
      C [libjli.so+0x8019] ThreadJavaMain+0x9

            cnorrbin Casper Norrbin
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: