[lilliput-jdk17u:lilliput] RFR: 8307764: [Lilliput/JDK17] Fix JVMTI GetObjectMonitorUsage()

Roman Kennke rkennke at openjdk.org
Tue May 9 16:15:41 UTC 2023


This test:
make run-test TEST=vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage001/TestDescription.java

fails with:
(0) unexpected owner: Thread-1 (0x(nil))
(0) waiter_count expected: 1, actually: 0

Reason is that [JDK-8295849](https://bugs.openjdk.org/browse/JDK-8295849) (which is a pre-req for Lilliput) has not been backported properly.

A number of other JVMTI tests are failing because of the same issue, too:

vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage001/TestDescription.java
vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage003/TestDescription.java
vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage004/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/contention/TC01/tc01t001/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/contention/TC03/tc03t001/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/contention/TC03/tc03t002/TestDescription.java

Testing:
 - [x] all failing tests (see above)
 - [x] all of vmTestbase/nsk/jvmti
 - [x] all of serviceability/jvmti

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

Commit messages:
 - 8307764: [Lilliput/JDK17] Fix JVMTI GetObjectMonitorUsage()

Changes: https://git.openjdk.org/lilliput-jdk17u/pull/15/files
 Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=15&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307764
  Stats: 16 lines in 1 file changed: 4 ins; 1 del; 11 mod
  Patch: https://git.openjdk.org/lilliput-jdk17u/pull/15.diff
  Fetch: git fetch https://git.openjdk.org/lilliput-jdk17u.git pull/15/head:pull/15

PR: https://git.openjdk.org/lilliput-jdk17u/pull/15


More information about the lilliput-dev mailing list