[10] RFR: 8186018: SA: Monitor Cache Dump in HSDB does not work

Yasumasa Suenaga yasuenag at gmail.com
Wed Aug 9 05:54:35 UTC 2017


Hi all,

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

I uloaded webrev for this issue. Could you review it?

  http://cr.openjdk.java.net/~ysuenaga/JDK-8186018/webrev.00/

I cannot access JPRT. So I need a sponsor.


Thanks,

Yasumasa


More information about the serviceability-dev mailing list