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

JCK14 3 lang/EXPR failed not enough memory when Xincgc used. System has 256M Mem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • hotspot
    • gc
    • rc1
    • sparc
    • generic
    • Verified

      JDK : 1.4.0-beta-b89
      JCK : JCK14-b14.
      Platform[s] : Solaris Sparc (passed on Solaris x86)
      switch/Mode : -Xincgc
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :
        lang/EXPR/expr050/expr05001/expr05001.html
        lang/EXPR/expr056/expr05601/expr05601.html
        lang/EXPR/expr494/expr49401/expr49401.html


      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/lang/EXPR/expr050/expr05001/expr05001.java

      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/lang/EXPR/expr056/expr05601/expr05601.java

      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/lang/EXPR/expr494/expr49401/expr49401.java

      jtr file location:
      ==================
      file:///net/jtgb4u4c/export/sail16/results/merlin/b89/jck14/sparc/s8_client_incgc_jtg-s111/workDir/lang/EXPR/expr050/expr05001/expr05001.jtr

      file:///net/jtgb4u4c/export/sail16/results/merlin/b89/jck14/sparc/s8_client_incgc_jtg-s111/workDir/lang/EXPR/expr056/expr05601/expr05601.jtr

      file:///net/jtgb4u4c/export/sail16/results/merlin/b89/jck14/sparc/s8_client_incgc_jtg-s111/workDir/lang/EXPR/expr494/expr49401/expr49401.jtr

      How to reproduce:
      ====================
      run the attached script
         expr05001.ksh -Xincgc
      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      #JDK=/net/jdk/export/disk6/promoted/jdk/1.4/rc/b86/binaries
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      JCK=${TESTBASE}/JCK-runtime-14
      executeClass="javasoft.sqe.tests.lang.expr050.expr05001.expr05001"
      executeTestURL="-platform.expectOutOfMemory true -platform.maxMemory 0m"
      headless=
      executeContextArgs=

      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac


      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      ((x=0))
      while (( $x != 1 )) do
      echo testing $x

      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      if [[ $? == "95" ]]; then
         echo pass
      else
         echo failed
      fi

      (( x = $x + 1 ))


      done



      --------Script END----------------------

      Test output:
      =============
      Used parameters:
        -platform.expectOutOfMemory=true
        -platform.maxMemory=0.0 (unlimited)
      Exception java.lang.OutOfMemoryError: requested 16392 bytes
      failed


      Specific Machine Info:
      =====================
      Hostid: 80a67898
      Release: 5.8
      Kernel architecture: sun4u
      Application architecture: sparc
      Hardware provider: Sun_Microsystems
      Domain: jlabs.SFBay.Sun.COM
      Kernel version: SunOS 5.8 Generic 108528-07 February 2001
      ===========
      Status of processor 0 as of: 12/10/01 14:34:47
        Processor has been on-line since 11/09/01 10:43:14.
        The sparcv9 processor operates at 333 MHz,
              and has a sparcv9 floating point processor.
      ===========
                              Solaris 8 4/01 s28s_u4wos_08 SPARC
                 Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
                                   Assembled 01 March 2001
      ===========
      Memory size: 256 Megabytes


      ###@###.### 2001-12-10

            jloizeausunw Jane Loizeaux (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: