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

Merlin: JCK test assertion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • None
    • beta
    • sparc
    • solaris_7, solaris_8

      With a clean Merlin workspace as of 11/9 a.m., I get an assertion failure
      in a VM test, compiler1 builds only (test passes with -Xint and c2). I
      haven't tried this on ladybird or any platform other than Solaris/SPARC.

      javasoft.sqe.tests.vm.concepts.exceptions031.exceptions03102.exceptions03102

      Here's my little script:
      #!/bin/csh

      # interpreter
      java -Xint -version
      java -Xint -classpath /net/castor.east/jtg/tonga/tonga_harness/classes:/net/castor/jtg/testb
      ase/src/JCK-runtime-13fcs/classes:/net/castor/jtg/testbase/src/JCK-runtime-13fcs/javatest.ja
      r javasoft.sqe.tests.vm.concepts.exceptions031.exceptions03102.exceptions03102

      # c1
      java -version
      java -classpath /net/castor.east/jtg/tonga/tonga_harness/classes:/net/castor/jtg/testbase/sr
      c/JCK-runtime-13fcs/classes:/net/castor/jtg/testbase/src/JCK-runtime-13fcs/javatest.jar java
      soft.sqe.tests.vm.concepts.exceptions031.exceptions03102.exceptions03102

      # c2
      java -server -version
      java -server -classpath /net/castor.east/jtg/tonga/tonga_harness/classes:/net/castor/jtg/tes
      tbase/src/JCK-runtime-13fcs/classes:/net/castor/jtg/testbase/src/JCK-runtime-13fcs/javatest.
      jar javasoft.sqe.tests.vm.concepts.exceptions031.exceptions03102.exceptions03102


      Here's the output showing the assertion:

       isher 58 =>csh fail
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build collins-000911-15:38)
      Java HotSpot(TM) Client VM (build Jane-merlin.clean-debug, interpreted mode)
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build collins-000911-15:38)
      Java HotSpot(TM) Client VM (build Jane-merlin.clean-debug, mixed mode)
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(v_false, "Non-balanced monitor enter/exit!")
      #
      # Error ID: /net/isher/export/files/hotspot/merlin.clean/src/os/solaris/vm/objectMonitor_solaris.cpp, 251 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x39a08 nid=0x1 runnable
      #
      Dumping core....
      Abort (core dumped)
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build collins-000911-15:38)
      Java HotSpot(TM) Server VM (build Jane-merlin.clean-debug, mixed mode)
      ****************************************************
      jck tests crashes in runThese with the above assertion in build 56

      TestBase : runThese
      Mode : -Xcomp -Xss4m -XX:TargetSurvivorRatio=10 -XX:MarkSweepDeadRatio=1
                 -XX:PermMarkSweepDeadRatio=5 -XX:MarkSweepAlwaysCompactCount=1
                 -XX:NmethodSweepFraction=1
      Platform : solsparc 5.8

      Steps to reproduce
      1)cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{Bugid}
      2)./doit

      {OR}

      make a runList.dat with the following test cases

      $TESTBASE/jck/jck-13a/JCK-13a/javatest.jar;$TESTBASE/jck/jck-13a/JCK-13a/classes javasoft.sqe.tests.vm.concepts.exceptions.exceptions031.exceptions03102.exceptions03102
      $TESTBASE/jck/jck-13a/JCK-13a/javatest.jar;$TESTBASE/jck/jck-13a/JCK-13a/classes javasoft.sqe.tests.vm.concepts.exceptions.exceptions030.exceptions03002.exceptions03002

      and run the follwing command-line

      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk/b56/solsparc/bin/java_g -hotspot -Xcomp -Xss4m -XX:TargetSurvivorRatio=10 -XX:MarkSweepDeadRatio=1 -XX:PermMarkSweepDeadRatio=5 -XX:MarkSweepAlwaysCompactCount=1 -XX:NmethodSweepFraction=1 -XX:-ShowMessageBoxOnError -XX:+ExitOnFullCodeCache -classpath /net/sqesvr/export/vsn/VM/testbase/runThese/classes $* runThese -thread 2 -repeat 1 -iter 1 -D:gc=5 -D:TESTBASE=/net/sqesvr/export/vsn/VM/testbase/runThese/tests -runList runList.dat


      Output:
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b56)
      Java HotSpot(TM) Client VM (build 1.4-beta-B56-debug, compiled mode)
      VM option 'TargetSurvivorRatio=10'
      VM option 'MarkSweepDeadRatio=1'
      VM option 'PermMarkSweepDeadRatio=5'
      VM option 'MarkSweepAlwaysCompactCount=1'
      VM option 'NmethodSweepFraction=1'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      IPv6 support 1

      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(v_false, "Non-balanced monitor enter/exit!")
      #
      # Error ID: /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/src/os/solaris/vm/objectMonitor_solaris.cpp, 251 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x2e0588 nid=0xd runnable
      #
      Dumping core....

      satheesh.pothuganti@eng 2001-03-20

            mgharahgsunw Mohammad Gharahgouzloo (Inactive)
            jloizeausunw Jane Loizeaux (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: