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

Occasional failing testcase java/lang/management/MemoryMXBean/LowMemoryTest2.sh

    XMLWordPrintable

    Details

      Description

      Failed on windows 32bit fastdebug build of the jdk. It doesn't reproduce all the time, but thought I would file this for the record.

      --------------------------------------------------
      TEST: java/lang/management/MemoryMXBean/LowMemoryTest2.sh
      JDK under test: (C:\temp\jprt\P1\T\004513~1.OHA\TESTPR~1\WINDOW~1.0-F)
      java version "1.7.0-2009-05-18-004513.ohair.jdk-fastdebug"
      Java(TM) SE Runtime Environment (build 1.7.0-2009-05-18-004513.ohair.jdk-fastdebug-administrator_2009_05_17_20_05-b00)
      Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)


      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build LowMemoryTest2 MemoryUtil
      TIME: 0.813 seconds
      messages:
      command: build LowMemoryTest2 MemoryUtil
      reason: User specified action: run build LowMemoryTest2 MemoryUtil
      elapsed time (seconds): 0.813

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.797 seconds
      messages:
      command: compile C:\temp\jprt\P1\T\004513.ohair\source\test\java\lang\management\MemoryMXBean\LowMemoryTest2.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.797
      STDOUT:
      STDERR:

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell/timeout=600 LowMemoryTest2.sh
      TIME: 1.953 seconds
      messages:
      command: shell LowMemoryTest2.sh []
      reason: User specified action: run shell/timeout=600 LowMemoryTest2.sh
      elapsed time (seconds): 1.953
      STDOUT:

      + C:/temp/jprt/P1/T/004513~1.OHA/TESTPR~1/WINDOW~1.0-F/bin/java -noclassgc -XX:PermSize=8m -XX:MaxPermSize=8m -XX:+UseSerialGC LowMemoryTest2
      Selected memory pool for low memory detection.
          Memory Pool name: Code Cache
          Type: Non-heap memory
          Memory Usage: init = 163840(160K) used = 490752(479K) committed = 491520(480K) max = 33554432(32768K)
          Threshold: 26843545
          Manager = [CodeCacheManager]
      Selected memory pool for low memory detection.
          Memory Pool name: Perm Gen
          Type: Non-heap memory
          Memory Usage: init = 8388608(8192K) used = 176480(172K) committed = 8388608(8192K) max = 8388608(8192K)
          Threshold: 6710886
          Manager = [MarkSweepCompact]
      Selected memory pool for low memory detection.
          Memory Pool name: Perm Gen [shared-ro]
          Type: Non-heap memory
          Memory Usage: init = 8388608(8192K) used = 6862368(6701K) committed = 8388608(8192K) max = 8388608(8192K)
          Threshold: 6710886
          Manager = [MarkSweepCompact]
      Selected memory pool for low memory detection.
          Memory Pool name: Perm Gen [shared-rw]
          Type: Non-heap memory
          Memory Usage: init = 12582912(12288K) used = 6911728(6749K) committed = 12582912(12288K) max = 12582912(12288K)
          Threshold: 10066329
          Manager = [MarkSweepCompact]
      Exception in thread "Thread-0" java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:751)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:592)
      at LowMemoryTest2$BoundlessLoaderThread.loadNext(LowMemoryTest2.java:127)
      at LowMemoryTest2$BoundlessLoaderThread.run(LowMemoryTest2.java:147)
      at java.lang.Thread.run(Thread.java:717)
      Exception in thread "Low Memory Detector" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "main" java.lang.RuntimeException: Test failed - notification not received!
      at LowMemoryTest2.main(LowMemoryTest2.java:226)

      + C:/temp/jprt/P1/T/004513~1.OHA/TESTPR~1/WINDOW~1.0-F/bin/java -noclassgc -XX:PermSize=8m -XX:MaxPermSize=8m -XX:+UseParallelGC LowMemoryTest2
      Selected memory pool for low memory detection.
          Memory Pool name: Code Cache
          Type: Non-heap memory
          Memory Usage: init = 163840(160K) used = 490432(478K) committed = 491520(480K) max = 33554432(32768K)
          Threshold: 26843545
          Manager = [CodeCacheManager]
      Selected memory pool for low memory detection.
          Memory Pool name: PS Perm Gen
          Type: Non-heap memory
          Memory Usage: init = 8388608(8192K) used = 2051680(2003K) committed = 8388608(8192K) max = 8388608(8192K)
          Threshold: 6710886
          Manager = [PS MarkSweep]
      Notification for PS Perm Gen [type = java.management.memory.threshold.exceeded count = 1]
          usage = init = 8388608(8192K) used = 6711232(6553K) committed = 8388608(8192K) max = 8388608(8192K)
      Notification received - test passed.

      + C:/temp/jprt/P1/T/004513~1.OHA/TESTPR~1/WINDOW~1.0-F/bin/java -noclassgc -XX:PermSize=8m -XX:MaxPermSize=8m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC LowMemoryTest2
      Selected memory pool for low memory detection.
          Memory Pool name: Code Cache
          Type: Non-heap memory
          Memory Usage: init = 163840(160K) used = 490432(478K) committed = 491520(480K) max = 33554432(32768K)
          Threshold: 26843545
          Manager = [CodeCacheManager]
      Selected memory pool for low memory detection.
          Memory Pool name: CMS Perm Gen
          Type: Non-heap memory
          Memory Usage: init = 8388608(8192K) used = 2051688(2003K) committed = 8388608(8192K) max = 8388608(8192K)
          Threshold: 6710886
          Manager = [ConcurrentMarkSweep]
      Notification for CMS Perm Gen [type = java.management.memory.threshold.exceeded count = 1]
          usage = init = 8388608(8192K) used = 6711488(6554K) committed = 8388608(8192K) max = 8388608(8192K)
      Notification received - test passed.

      1 test(s) failed
      STDERR:

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: