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

the second stack overflow causes Classic VM to exit on win32

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 01/03/2000



      The regression test (testbase_nsk) nsk/regression/b4298656 fails
      under the Classic VM ((build JDK-1.2.2-W) on win32.

      The test calls recursive_method() in loop.
      The second stack overflow causes the test to exit without any message.

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

      The first parameter for doit.bat should be JDK root directory
      (e.g. L:/java/jdk1.3/win32) and the second parameter -
      VM option(s) (optional).

      The doit.bat file contains the CALL_DEPTH variable which is
      the number of recursive calls.
      By default the CALL_DEPTH variable equals 1000000.

      The Kestrel Classic VM runs the test perfectly.

      Logs:

      % doit.bat d:/export/java/jdk1.2.2/win32
      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)
      ==> test b4298656 LOG:
      ----> depth of recursive calls in recursive_method() = 1000000
      ----> Attempt_counter = 1: StackOverflow_call_depth = 64684

      Exit Status = 128

      % doit.bat d:/export/java/jdk1.3.0R/win32
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Classic VM (build 1.3.0-R, native threads, nojit)
      ==> test b4298656 LOG:
      ----> depth of recursive calls in recursive_method() = 1000000
      ----> Attempt_counter = 1: StackOverflow_call_depth = 8461
      ----> Attempt_counter = 2: StackOverflow_call_depth = 8461
      ----> Attempt_counter = 3: StackOverflow_call_depth = 8461
      ==> test b4298656 PASSED

      Exit Status = 95


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

            hongzh Hong Zhang
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: