JVM crashes with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked" when run with large value for PreallocatedOutOfMemoryErrorCount

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 8, 26
    • Component/s: hotspot

      JVM crashes with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked" when run with large value for PreallocatedOutOfMemoryErrorCount

      java -XX:PreallocatedOutOfMemoryErrorCount=18446744073709551615 -version
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error ([...]hotspot/share/interpreter/linkResolver.cpp:1434),
      [...]
      # assert(resolved_method->method_holder()->is_linked()) failed: must be linked

      ===

      Unsound cast immediately precedes the crash when using an unreasonably high value for PreallocatedOutOfMemoryErrorCount (flag is develop). Maybe the flag should be constrained to more reasonable values.

            Assignee:
            David Holmes
            Reporter:
            Daniel Skantz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: