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

Creating huge multidimensional array crashes HotSparc Client VM

XMLWordPrintable

    • sparc
    • solaris_7



      Name: dkC59003 Date: 01/12/2000


      The regression test (testbase_nsk) nsk/regression/b4294774 causes crash
      of the HotSparc Client VM (build 1.3-S) on Solaris.

      The test creates huge multidimensional array (int array[][] = new int[50000000][];)
      and expects to catch the OutOfMemoryError, but the HotSparc VM
      crashes instead of this.

      This test has been developed on the base of the 4294774 bugreport
      (4294774 (P3/S5) Creating huge multidimensional array crashes Hotspot).
      According to the current state of the bugreport this bug had been fixed and
      integrated in kestrel release on Dec 16 1999 10:31AM.

      To reproduce the bug run doit.sh in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.

      The first parameter for doit.bat should be JDK root directory
      (e.g. /usr/local/java/jdk1.3/solaris) and the second parameter is
      VM option(s) (optional).

      The Classic VM (Solaris) passes the test as well as
      HotSpot 2.0rc1-I and 1.3fcs-S on win32.

      See log:

      % doit.sh /export/java/jdk1.3.0R/solaris
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Java HotSpot(TM) Client VM (build 1.3-S, interpreted mode)
      #
      # HotSpot Virtual Machine Error, Unexpected Signal 11
      #
      # Error ID: 4F533F534F4C415249530E43505007B6 01
      #
      Exit status = 1

      (Error ID: os_solaris.cpp, 1974)

      % doit.sh /export/java/jdk1.3.0R/solaris -classic
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Classic VM (build 1.3.0-R, green threads, nojit)
      Exit status = 95


      ======================================================================

            jcoomes John Coomes (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: