JDK-6881185 : gc/4855795/HeapTest.java fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 5.0u21
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2009-09-11
  • Updated: 2015-03-11
  • Resolved: 2009-09-15
Related Reports
Relates :  
Description
JDK/JRE tested: 5.0u21b02	
OS/architecture: amd64-win vista, sparc-sol10 (I think it's reproducable everywhere)
Reproducible: Always
Reproducible on machine: stt-64.russia, stt-63.russia
Is it a platform specific regression: N
Is it a Regression: N
Test also fails on 5.0u22b01, 5.0u20b02 and 5.0u16b01

Steps to reproduce: login to stt-63 or stt-64 

-bash-3.00$ pwd
/export/JQA/regression/150u21b02
-bash-3.00$ /export/jdk/150u2
150u20b04/ 150u21b02/ 150u21b03/ 150u21b04/ 150u22b02/ 
-bash-3.00$ /export/jdk/150u21b02/jdk1.5.0_21/bin/javac HeapTest.java 
Note: HeapTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
-bash-3.00$ /export/jdk/150u21b02/jdk1.5.0_21/bin/java HeapTest      
requested allocation size = 4096  actual size = 0 bytes
--- starting allocations -------
4541: GC freed 41448K (0K expected)
6832: GC freed 5648K (0K expected)
10571: GC freed 6485K (0K expected)
15889: GC freed 45772K (0K expected)
16190: GC freed 23978K (0K expected)
17030: GC freed 2810K (0K expected)
19598: GC freed 16247K (0K expected)
22739: GC freed 2011K (0K expected)
27801: GC freed 3238K (0K expected)
31260: GC freed 87K (0K expected)
34717: GC freed 81164K (0K expected)
46186: GC freed 12938K (0K expected)
49953: GC freed 90947K (0K expected)
60393: GC freed 4024K (0K expected)
66894: GC freed 1571K (0K expected)
73418: GC freed 88092K (0K expected)
86735: GC freed 18309K (0K expected)
95748: GC freed 414K (0K expected)
96664: GC freed 11K (0K expected)

96667: *** Out of Memory Exception caught *** (expected 0K garbage)
 free heap is now 54331600 bytes
 total blocks allocated = 96666

Exception in thread "main" java.lang.RuntimeException: Test failed.
        at HeapTest.main(HeapTest.java:62)



It may be test problems.
-bash-3.00$