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

SA: Monitor Cache Dump in HSDB does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot
    • b21

      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".

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

              Created:
              Updated:
              Resolved: