Details
-
Bug
-
Resolution: Fixed
-
P4
-
5.0u32, 6u22, 7
-
b118
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8033395 | 6u75 | Sergey Gabdurakhmanov | P4 | Closed | Fixed | b07 |
JDK-2216877 | 5.0u35 | Abhijit Saha | P3 | Closed | Fixed | b01 |
Description
The test hangs when it fails because the main thread is waiting for the checker thread to finish checking the result but the checker thread terminates with an exception without informing the main thread about its termination.
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)
The test should be fixed to exit gracefully.
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)
The test should be fixed to exit gracefully.
Attachments
Issue Links
- backported by
-
JDK-2216877 test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh should not hang
-
- Closed
-
-
JDK-8033395 test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh should not hang
-
- Closed
-
- duplicates
-
JDK-6982965 TEST failure: java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
-
- Closed
-
- relates to
-
JDK-7067973 test/java/lang/management/MemoryMXBean/CollectionUsageThreshold.java hanging intermittently
-
- Resolved
-