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

Frederic Parain fparain at openjdk.java.net
Thu Jul 2 18:31:07 UTC 2020


On Thu, 2 Jul 2020 13:16:38 GMT, Frederic Parain <fparain at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: f5f65c5e
Author:    Frederic Parain <fparain at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/f5f65c5e
Stats:     322 lines in 6 files changed: 0 ins; 317 del; 5 mod

8248163: jdb crashes when invoking "lock" command on inline class

Reviewed-by: hseigel

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

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



More information about the valhalla-dev mailing list