G1: VM ergonomics fail with "fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for G1RemSetArrayOfCardsEntries" when using high value for G1RemSetArrayOfCardsEntriesBase

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 18
    • Component/s: hotspot
    • gc

      VM ergonomics with fail "fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for G1RemSetArrayOfCardsEntries" when using high value for G1RemSetArrayOfCardsEntriesBase

      ===

      $ ./build/linux-x64-debug/jdk/bin/java -XX:G1RemSetArrayOfCardsEntriesBase=62117 -version
      uint G1RemSetArrayOfCardsEntries=248468 is outside the allowed range [ 0 ... 65536 ]

      # fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for G1RemSetArrayOfCardsEntries

      # JRE version: (27.0) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-[...], mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x12db791] RangedFlagAccessImpl<double, EventDoubleFlagChanged>::set_impl(JVMFlag*, void*, JVMFlagOrigin) const [clone .part.0]+0x21

            Assignee:
            Unassigned
            Reporter:
            Daniel Skantz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: