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

SA: clhsdb 'dumpcodecache' hangs when dealing with AOT compiled processes

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Running dumpcodecache on a java process using a simple AOT compiled library hangs (we don't get back the hsdb prompt).

      /home/jini/jdk10/hs/build/linux-x86_64-normal-server-slowdebug/jdk/bin/jaotc --output libHelloForever.so --classpath . HelloForever.class

      /home/jini/jdk10/hs/build/linux-x86_64-normal-server-slowdebug/jdk/bin/java -XX:AOTLibrary=./libHelloForever.so HelloForever

      jhsdb clhsdb --pid <pid>
      ...
      hsdb > dumpcodecache
      ...
      0x00007f0b6d2a901a: int3
      0x00007f0b6d2a901b: int3
      0x00007f0b6d2a901c: int3
      0x00007f0b6d2a901d: int3
      0x00007f0b6d2a901e: int3
      0x00007f0b6d2a901f: int3
      0x00007f0b6d2a9020: int3
      0x00007f0b6d2a9021: int3
      0x00007f0b6d2a9022: int3
      0x00007f0b6d2a9023: int3
      0x00007f0b6d2a9024: int3
      0x00007f0b6d2a9025: int3
      0x00007f0b6d2a9026: int3
      0x00007f0b6d2a9027: int3
      <hangs>

      This has been observed on Linux x64. Still marking this as generic since it might be seen on other platforms too.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jgeorge Jini George (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: