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

jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails due to wrong number of MonitorContendedEntered events

XMLWordPrintable

    • b27
    • x86_64
    • windows

        The following test failed in the JDK13 CI:

        vmTestbase/nsk/jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java

        Here's a snippet of the log file:

        #section:main
        ----------messages:(4/292)----------
        command: main -agentlib:tc04t001=-waittime=5 nsk.jvmti.scenarios.contention.TC04.tc04t001
        reason: User specified action: run main/othervm/native -agentlib:tc04t001=-waittime=5 nsk.jvmti.scenarios.contention.TC04.tc04t001
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 16.187
        ----------configuration:(0/0)----------
        ----------System.out:(12/674)----------
        Started recording 1. No limit specified, using maxsize=250MB as default.

        Use jcmd 35000 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
        The following fake exception stacktrace is for failure analysis.
        nsk.share.Fake_Exception_for_RULE_Creation: (tc04t001.cpp:267) enterEventsCount == 199
        at nsk_lvcomplain(nsk_tools.cpp:172)
        # ERROR: tc04t001.cpp, 267: enterEventsCount == 199
        # verified assertion is FALSE
        # ERROR: tc04t001.cpp, 270: Number of MonitorContendedEnter events: 197
        # ERROR: tc04t001.cpp, 275: enteredEventsCount == 199
        # verified assertion is FALSE
        # ERROR: tc04t001.cpp, 278: Number of MonitorContendedEntered events: 197
        ----------System.err:(0/0)----------
        ----------rerun:(36/5854)*----------

              sspitsyn Serguei Spitsyn
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: