JDK-6982965 : TEST failure: java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 5.0u32,7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-09-07
  • Updated: 2012-07-10
  • Resolved: 2012-07-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
Failing regression test in JPRT jobs, all linux and solaris platforms (windows is unknown).

--------------------------------------------------
TEST: java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
JDK under test: (/tmp/jprt/P1/T/111957.jcg-integrator/testproduct/solaris_sparc_5.10-product)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2010_09_07_06_39-b00)
Java HotSpot(TM) Client VM (build 19.0-b06-201009071119.jcg-integrator.tl-pb, mixed mode, sharing)
Timeout signalled after 1,200 seconds

ACTION: build -- Passed. All files up to date
REASON: User specified action: run build CollectionUsageThreshold 
TIME:   0.001 seconds
messages:
command: build CollectionUsageThreshold
reason: User specified action: run build CollectionUsageThreshold 
elapsed time (seconds): 0.001

ACTION: shell -- Error. Program `sh' interrupted! (timed out?)
REASON: User specified action: run shell/timeout=300 CollectionUsageThresholdConcMarkSweepGC.sh 
TIME:   1200.008 seconds
messages:
command: shell CollectionUsageThresholdConcMarkSweepGC.sh []
reason: User specified action: run shell/timeout=300 CollectionUsageThresholdConcMarkSweepGC.sh 
elapsed time (seconds): 1200.008
STDOUT:
runOne -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 = 130376(127K) committed = 50331648(49152K) max = 83886080(81920K)
Notification for CMS Perm Gen [type = java.management.memory.collection.threshold.exceeded count = 2]
    usage = init = 12582912(12288K) used = 1933512(1888K) committed = 12582912(12288K) max = 67108864(65536K)
Low Memory Detector notifying to check result
STDERR:
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)

TEST RESULT: Error. Program `sh' interrupted! (timed out?)
--------------------------------------------------