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

SA: Monitor Cache Dump in HSDB does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      I tried to check Monitor Cache Dump in HSDB, but it hangs and OOME occurred.

      How to reproduce:

        1. Run JShell
        2. Attach HSDB to JShell
           $ jhsdb hsdb --pid <PID>
        3. Select "Monitor Cache Dump" in "Tools" menu.

      ObjectSynchronizer$ObjectMonitorIterator switches monitor block list when index == 0 at next(). However next() switches blockAddr only.
      We should also switch "block".

        Attachments

          Activity

            People

            Assignee:
            ysuenaga Yasumasa Suenaga
            Reporter:
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: