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

Frederic Parain fparain at openjdk.java.net
Thu Jul 2 16:10:19 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

Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:

  Add comment and fix copyright headers

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

Changes:
  - all: https://git.openjdk.java.net/valhalla/pull/104/files
  - new: https://git.openjdk.java.net/valhalla/pull/104/files/897ee98e..2ffad6e5

Webrevs:
 - full: https://webrevs.openjdk.java.net/valhalla/104/webrev.01
 - incr: https://webrevs.openjdk.java.net/valhalla/104/webrev.00-01

  Stats: 6 lines in 4 files changed: 3 ins; 0 del; 3 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