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

test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh fails in HSX19-b06

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 7
    • 7
    • hotspot
    • svc
    • b109
    • 7
    • generic
    • generic

    Description

      java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
      hangs with HSX19-b06 (failed with jdk7 b109-b113). The test passes with HSX19-b05
      (tested with jdk7 b108 and also jdk7 b113 swapped with HSX19-b05 VM).

      To reproduce the failure:

      > jtreg -ea -esa -jdk:/java/re/jdk/7/latest/binaries/solaris-i586/bin/java \
        <jdk-repo>/test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
      Another way to reproduce the failure:

      $ /java/re/jdk/7/latest/binaries/solaris-i586/bin/java -XX:+UseConcMarkSweepGC CollectionUsageThreshold

      Collection usage threshold of CMS Old Gen set to 10
      Collection usage threshold of CMS Perm Gen set to 10
      Calling System.gc()
      main waiting for result checking finishes
      Notification for CMS Old Gen [type = java.management.memory.collection.threshold.exceeded count = 1]
          usage = init = 50331648(49152K) used = 133712(130K) committed = 50331648(49152K) max = 83886080(81920K)
      Notification for CMS Perm Gen [type = java.management.memory.collection.threshold.exceeded count = 2]
          usage = init = 16777216(16384K) used = 1977176(1930K) committed = 16777216(16384K) max = 67108864(65536K)
      Low Memory Detector notifying to check result
      Exception in thread "Checker thread" java.lang.RuntimeException: Notif Count = 2 expected to be 1
              at CollectionUsageThreshold$Checker.checkResult(CollectionUsageThreshold.java:213)
              at CollectionUsageThreshold$Checker.run(CollectionUsageThreshold.java:200)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: