Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8307764

[Lilliput/JDK17] Fix JVMTI GetObjectMonitorUsage()

XMLWordPrintable

    • generic
    • generic

      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 (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

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: