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

test java/nio/Buffer/LimitDirectMemory.sh has failed with 64 bit JDK on Windows

XMLWordPrintable

    • b02
    • x86
    • windows_xp
    • Verified

        Test java/nio/Buffer/LimitDirectMemory.sh failed on 64 bit JDK on Windows.
        As I see in test definition the execution is skipped for x86_64 only for SunOS|Linux, but not Windows
        case "$OS" in
          SunOS | Linux )
            if [ `uname -p` = "x86_64" ]
            then
                echo "Test Skipped for AMD 64"
                exit 0
            fi
            TMP=/tmp ;;
          Windows* ) TMP="c:/temp" ;;
          * )
            echo "Unrecognized system!"
            exit 1;
            ;;
        esac

        so execution of runTest -XX:MaxDirectMemorySize=42000000000000000t -cp ${TESTCLASSES} \
          LimitDirectMemory true 0 DEFAULT+1M (/test/java/nio/Buffer/LimitDirectMemory.sh:88)
        failed as
                throw new RuntimeException("OutOfMemoryError not thrown: "
                               + incr);
        (LimitDirectMemory.java:33)

        So I define it as test issue. also because it passed on 32 bit JVM
        (regression test train for 1.5. doesn't have an execution for -XX:MaxDirectMemorySize=42000000000000000t

        how to reproduce
        install 1.4.2_12b1 with support AMD64 (j2sdk-1_4_2_12-windows-amd64.exe)
        then run JTreg with appropriate JDK
        The workspace is placed on /net/latte.ireland/deployment1/regtests/142u12/
        the JTreg is placed on /net/latte.ireland/deployment1/sqe-tools2.1.6fcs
        to run please follow instructions http://jqa.ireland/procedures/test_procedures/141_test_procedures/RegressionTestExecution.html
        And -automatic -bug:4627316 flags to that script

              asaha Abhijit Saha
              edrobitk Eugene Drobitko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: