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

gc/4855795/HeapTest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 5.0u21
    • hotspot
    • gc
    • generic
    • generic

      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$

            asaha Abhijit Saha
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: