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

monitor contended events miscount in the cm02t001

XMLWordPrintable

    • b79
    • 6
    • b85
    • generic
    • generic

      The test
        nsk/jvmti/scenarios/capability/CM02/cm02t001
      was failed with the sparc Server VM in the nightly 03/30 and 04/01.
      It is reproducible on the sparc SQE machines barkhesh.sfbay and physics.sfbay.

      #!/usr/bin/sh

      SHELL=/usr/bin/sh
      CLASSPATH=/net/gtee.sfbay/export/nightly/mustang/DTWS/results/04-01-06/ServerVM/Solsparc/comp/Serv_Baseline/WORK_DIR/nsk.jvmti-NIGHTLY-Serv_Baseline-ServerVM-comp-Solsparc-2006-04-01-19-37-06/run2/fhsu.Solaris.sparc/cm02t001:/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/classes:/net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc/lib/tools.jar
      DISPLAY=vmsqe.sfbay:0.0
      RAS_OPTIONS=
      HOME=/var/tmp
      LD_LIBRARY_PATH=/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/lib/solaris-sparc/nsk/jvmti/scenarios/capability/CM02:/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/src/nsk/share/lib/solaris-sparc:/net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc/jre/lib/sparc/server
      PATH=/net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc/bin:/bin:/usr/bin:/net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc/jre/bin:/mksnt

      while [ $# -gt 0 ];
      do
        if [ $1 = "-jdk" ]; then
      shift 1
      PATH=${1}/bin:${PATH}
      shift 1
        else
      if [ $1 = "-d" ]; then
      shift 1
      if [ $# -gt 0 ]; then
      DISPLAY=$1
      shift 1
      else
      DISPLAY=:0.0
      fi
      fi
        fi
      done

      export SHELL
      export CLASSPATH
      export DISPLAY
      export RAS_OPTIONS
      export HOME
      export LD_LIBRARY_PATH
      export PATH

      #annotate TEST javaopt=-server -Xcomp -XX:-PrintVMOptions -XX:CompileOnly=nsk -agentlib:cm02t001=-waittime=2
      /net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc/bin/java -server -Xcomp -XX:-PrintVMOptions -XX:CompileOnly=nsk -DHANGINGJAVA6613 -agentlib:cm02t001=-waittime=2 nsk.jvmti.scenarios.capability.CM02.cm02t001
      ##Exit status of execution step=97
      ##!checkExitCode

      #VM option '-PrintVMOptions'
      #VM option 'CompileOnly=nsk'
      ## ERROR: cm02t001.c, 548: MonitorContendedEnterEventsCount != 0
      ## verified assertion is FALSE
      ## ERROR: cm02t001.c, 553: MonitorContendedEnteredEventsCount != 0
      ## verified assertion is FALSE
      The test is failed on Solaris-x86 and Linux as well.
      It is well reproducible with the SQE JDK bits (fastdebug):
       /net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-{sparc,i586}
       /net/gtee.sfbay/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/linux-i586

      It is also reproducible with product promoted jdk bits on Solaris sparc/x86 and Linux
      with both Server and Client VM and flags: -Xmixed, -Xcomp and -Xint.

            sspitsyn Serguei Spitsyn
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: