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

assertion failure:Test4950157.sh testcase fails for 1.4.2_06b2

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      06
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_8

      Description

      OSes tested
      ===
      Solaris sparc 2.9, RHEL3.0 update1

      The testcase provided for 4950157 randomly fails (INT in 1.4.2_06b2)

      Testcase can be obtained from /net/latte.ireland/deployment1/regtests/142/test/CTE_REGTEST/Generic/4950157

      Following is output from RHEL AS 3.0 update 1
      note that the testcase doesn't always fail (perhaps 50% of the time)


      [root@lock 4950157]# java -Xmx8m -XX:-CMSYield -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=0 Bub
      bleUpRef 16000 50 10000
      <array size> 16000
      <OOM's> 50
      <work units> 10000

      fill() 50 times

      Exception java.lang.OutOfMemoryError: requested 64016 bytes for promotion. Out of swap space?


      [root@lock 4950157]# java_g -Xmx8m -XX:-CMSYield -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=0 B
      ubbleUpRef 16000 50 10000
      VM option '-CMSYield'
      VM option '+UseConcMarkSweepGC'
      VM option 'CMSInitiatingOccupancyFraction=0'
      <array size> 16000
      <OOM's> 50
      <work units> 10000

      fill() 50 times
      Current thread is 0xb24b2bb0
      Dumping core ...
      # To suppress the following error report, specify this argument
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/xmlstream.cpp:153
      #
      [error occured during error reporting]
      # HotSpot Virtual Machine Error, assertion failure
      closing tag </tty>, pending tags: # Please report this error at
       <relinfo># http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b02-debug mixed mode)
       <vm_version>
      Exception #
      # assert(_prologue != __null, "prologue pointer must be initialized") <hotspot_log>java.lang.OutOfMemoryError:
      requested

      64016 bytes# To suppress the following error report, specify this argument
       for #
      # Error ID: /export/jdk142-update/ws/fcs/hotspot/src/share/vm/runtime/perfMemory.cpp, 117
      promotion. Out of swap space?# after -XX: or in .hotspotrc: SuppressErrorAt=/xmlstream.cpp:162

      #
      # Problematic Thread: prio=1 tid=0x0807c9c8 # To suppress the following error report, specify this argument
      nid=0x3f36 # after -XX: or in .hotspotrc: SuppressErrorAt=/perfMemory.cpp:117



      see bugID 4907608 also for a similar assertion failure. This fix for this bugID was INT for tiger.


      ###@###.### 2004-08-27

      Supressing the first error leads to an error in xmlstream.cpp, 162

      [root@lock 4950157]# java_g -XX:SuppressErrorAt=/perfMemory.cpp:117 -Xmx8m -XX:-CMSYield -XX:+UseConcMarkSweep
      GC -XX:CMSInitiatingOccupancyFraction=0 BubbleUpRef 16000 50 10000
      VM option 'SuppressErrorAt=/perfMemory.cpp:117'
      VM option '-CMSYield'
      VM option '+UseConcMarkSweepGC'
      VM option 'CMSInitiatingOccupancyFraction=0'
      <array size> 16000
      <OOM's> 50
      <work units> 10000

      fill() 50 times
      Current thread is 0xb24b2bb0
      Dumping core ...
      closing tag </tty>, pending tags: <release> <vm_version> <hotspot_log>
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/xmlstream.cpp:162
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b02-debug mixed mode)
      #
      # ShouldNotReachHere()
      #
      # Error ID: /export/jdk142-update/ws/fcs/hotspot/src/share/vm/utilities/xmlstream.cpp, 162
      #
      # Problematic Thread: prio=1 tid=0x0807b128 nid=0x3f69 runnable
      #

      Heap at VM Abort:
      Heap
       par new generation total 4032K, used 3965K [0xadaa0000, 0xadea0000, 0xadea0000)
        eden space 3968K, 99% used [0xadaa0000, 0xade7f458, 0xade80000)
        from space 64K, 0% used [0xade80000, 0xade80000, 0xade90000)
        to space 64K, 0% used [0xade90000, 0xade90000, 0xadea0000)
       concurrent mark-sweep generation total 4096K, used 4026K [0xadea0000, 0xae2a0000, 0xae2a0000)
       concurrent-mark-sweep perm gen total 4096K, used 1020K [0xae2a0000, 0xae6a0000, 0xb22a0000)
      Current thread is 0xb24b2bb0
      Dumping core ...

      Exception java.lang.OutOfMemoryError: requested Aborted

      [root@lock sean]#


      ###@###.### 2004-08-27
      ###@###.### 10/5/04 18:42 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asaha Abhijit Saha
              Reporter:
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: