[lworld] RFR: 8248163: jdb crashes when invoking "lock" command on inline class

Frederic Parain fparain at openjdk.java.net
Thu Jul 2 13:28:53 UTC 2020


Please review this patch which fix an issue with the JVMTI method GetObjectMonitorUsage() and inline types.
The behavior of the method when called on an inline type instance is to return a valid result and not throwing an
exception. The result will always show that the monitor is not locked and has never been locked.

A unit test has been added to cover this case.

Thank you,

Fred

-------------

Commit messages:
 - Add inline type support to JVMTI GetObjectMonitorUsage

Changes: https://git.openjdk.java.net/valhalla/pull/104/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/104/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8248163
  Stats: 319 lines in 6 files changed: 314 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/104.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/104/head:pull/104

PR: https://git.openjdk.java.net/valhalla/pull/104


More information about the valhalla-dev mailing list