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

java/lang/instrument/RetransformBigClass.sh failing with memory leak

XMLWordPrintable


      This test is failing intermittently again with jdk8/tl. Here's an example failure:


      #Test Results (version 2)
      #Sun Aug 18 20:28:26 IST 2013
      #checksum:40ebf5e1d09338d3
      #-----testdescription-----
      $file=/u/alanb/ws/tl/jdk/test/java/lang/instrument/RetransformBigClass.sh
      $root=/u/alanb/ws/tl/jdk/test
      author=Daniel D. Daugherty
      keywords=bug7122253 bug8016838 shell
      maxTimeout=600
      run=USER_SPECIFIED shell MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes\: true'\nUSER_SPECIFIED build BigClass RetransformBigClassApp\nUSER_SPECIFIED shell/timeout\=600 RetransformBigClass.sh\n
      source=RetransformBigClass.sh
      title=Retransform a big class.

      #-----environment-----

      #-----testresult-----
      description=file\:/u/alanb/ws/tl/jdk/test/java/lang/instrument/RetransformBigClass.sh
      elapsed=173632 0\:02\:53.632
      end=Sun Aug 18 20\:28\:26 IST 2013
      environment=regtest
      execStatus=Failed. Execution failed\: exit code 1
      hostname=ashtown.ie.oracle.com
      javatestOS=Linux 3.2.0-23-generic (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 dev b00
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell build compile shell
      start=Sun Aug 18 20\:25\:33 IST 2013
      test=java/lang/instrument/RetransformBigClass.sh
      user.name=albatem
      work=/u/alanb/testing/jtreg/JTwork/java/lang/instrument

      #section:script_messages
      ----------messages:(5/271)----------
      JDK under test: (/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-albatem_2013_08_08_05_04-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b45, mixed mode)


      #section:shell
      ----------messages:(3/277)----------
      command: shell MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes: true'
      reason: User specified action: run shell MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes: true'
      elapsed time (seconds): 2.241
      ----------System.out:(7/466)----------
      TESTSRC=/u/alanb/ws/tl/jdk/test/java/lang/instrument
      TESTJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image
      COMPILEJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image
      added manifest
      adding: RetransformBigClassAgent$1.class(in = 1540) (out= 831)(deflated 46%)
      adding: RetransformBigClassAgent.class(in = 1641) (out= 858)(deflated 47%)
      adding: SimpleIdentityTransformer.java(in = 1919) (out= 926)(deflated 51%)
      ----------System.err:(0/0)----------
      ----------rerun:(15/864)*----------
      HOME=/home/albatem \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
      TESTSRC=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
      TESTSRCPATH=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
      TESTCLASSES=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
      TESTCLASSPATH=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
      COMPILEJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
      TESTJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
      'TESTVMOPTS=-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
      'TESTTOOLVMOPTS=-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
      TESTJAVACOPTS= \\
      TESTJAVAOPTS= \\
          sh \\
              /u/alanb/ws/tl/jdk/test/java/lang/instrument/MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes: true'
      result: Passed. Execution successful

      #section:build
      ----------messages:(3/151)----------
      command: build BigClass RetransformBigClassApp
      reason: User specified action: run build BigClass RetransformBigClassApp
      elapsed time (seconds): 0.958
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/256)----------
      command: compile -XDignore.symbol.file=true /u/alanb/ws/tl/jdk/test/java/lang/instrument/BigClass.java /u/alanb/ws/tl/jdk/test/java/lang/instrument/RetransformBigClassApp.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.957
      ----------rerun:(20/1684)*----------
      HOME=/home/albatem \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
          /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx512m \\
              -J-DCompatibilityTest.disableNetwork=true \\
              -J-Dtest.vm.opts='-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
              -J-Dcompile.jdk=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.src.path=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
              -J-Dtest.src=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
              -J-Dtest.class.path=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
              -J-Dtest.classes=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
              -J-Dtest.class.path.prefix=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument:/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
              -J-Dtest.jdk=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.java.opts= \\
              -J-Dtest.compiler.opts= \\
              -d /u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument -classpath /u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument:/u/alanb/ws/tl/jdk/test/java/lang/instrument:/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /u/alanb/ws/tl/jdk/test/java/lang/instrument -XDignore.symbol.file=true /u/alanb/ws/tl/jdk/test/java/lang/instrument/BigClass.java /u/alanb/ws/tl/jdk/test/java/lang/instrument/RetransformBigClassApp.java
      result: Passed. Compilation successful

      #section:shell
      ----------messages:(3/147)----------
      command: shell RetransformBigClass.sh
      reason: User specified action: run shell/timeout=600 RetransformBigClass.sh
      elapsed time (seconds): 170.433
      ----------System.out:(1139/78556)----------
      COMPILEJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image
      Creating instance of class BigClass
      App loop count: 1
      Retransforming
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=966672K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=985912K)
      RedefineClasses-0x1: redefined name=BigClass, count=1 (avail_mem=984196K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=982176K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=975304K)
      RedefineClasses-0x1: redefined name=BigClass, count=2 (avail_mem=966348K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=963996K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=1022608K)
      RedefineClasses-0x1: redefined name=BigClass, count=3 (avail_mem=1051480K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=1048296K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=1028760K)
      RedefineClasses-0x1: redefined name=BigClass, count=4 (avail_mem=1026240K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=1024768K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=1015736K)
      RedefineClasses-0x1: redefined name=BigClass, count=5 (avail_mem=1010928K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=1008944K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=1025300K)
      :
      :
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=242124K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=266220K)
      RedefineClasses-0x1: redefined name=BigClass, count=999 (avail_mem=266220K)
      RedefineClasses-0x1: loading name=BigClass kind=101 (avail_mem=265972K)
      RedefineClasses-0x1: loaded name=BigClass (avail_mem=254996K)
      RedefineClasses-0x1: redefined name=BigClass, count=1000 (avail_mem=252168K)
      Retransformed 1000 times.
      App looped 17 times.
      FAIL: Virtual memory usage increased by 65536Kb (greater than 32768Kb)
      FAIL: RetransformBigClassApp exited with status of 1
      ----------System.err:(0/0)----------
      ----------rerun:(15/792)*----------
      HOME=/home/albatem \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
      TESTSRC=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
      TESTSRCPATH=/u/alanb/ws/tl/jdk/test/java/lang/instrument \\
      TESTCLASSES=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
      TESTCLASSPATH=/u/alanb/testing/jtreg/JTwork/classes/2/java/lang/instrument \\
      COMPILEJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
      TESTJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
      'TESTVMOPTS=-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
      'TESTTOOLVMOPTS=-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
      TESTJAVACOPTS= \\
      TESTJAVAOPTS= \\
          sh \\
              /u/alanb/ws/tl/jdk/test/java/lang/instrument/RetransformBigClass.sh
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

            olagneau Olivier Lagneau (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: