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

MemProfiling does not own Heap_lock when using G1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • 17
    • None
    • hotspot
    • None
    • gc

      $ ./java -XX:+MemProfiling -version
      openjdk version "17-internal" 2021-09-14
      OpenJDK Runtime Environment (slowdebug build 17-internal+0-adhoc.Administrator.openjdk16)
      OpenJDK 64-Bit Server VM (slowdebug build 17-internal+0-adhoc.Administrator.openjdk16, mixed mode, sharing)

      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\g1Allocator.cpp:203
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (f:\openjdk16\src\hotspot\share\gc\g1\g1Allocator.cpp:203), pid=7232, tid=6636
      # assert(Heap_lock->owner() != 0LL) failed: Should be owned on this thread's behalf.
      #
      # JRE version: OpenJDK Runtime Environment (17.0) (slowdebug build 17-internal+0-adhoc.Administrator.openjd
      k16)
      # Java VM: OpenJDK 64-Bit Server VM (slowdebug 17-internal+0-adhoc.Administrator.openjdk16, mixed mode, sha
      ring, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Core dump will be written. Default location: F:\openjdk16\build\windows-x86_64-server-slowdebug\images\jd
      k\bin\hs_err_pid7232.mdmp
      #
      # An error report file with more information is saved as:
      # F:\openjdk16\build\windows-x86_64-server-slowdebug\images\jdk\bin\hs_err_pid7232.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

            yyang Yi Yang
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: