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

TsdCase (VM) test crashes in 64Bit with assertion at assembler_sparc.cpp, 124

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta2
    • sparc
    • solaris_8
    • Verified

      Test : TsdCase
      TestBase : /net/sqesvr.eng/export/vsn/VM/testbase/testbase_vm
      Mode : -Xmixed
      Platform : solsparc 5.8

      Steps to reproduce
      1)cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{Bugid}
      2)ksh doit


      {OR}
      run the following command-line

      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk/latest/solsparc/bin/java -d64 -server -Xcomp TsdCase


      Output:
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b62)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta-b62, mixed mode)

      Java HotSpot(TM) 64-Bit Server VM warning: block layout must be predicted accurately
      Java HotSpot(TM) 64-Bit Server VM warning: block layout must be predicted accurately
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 415353454D424C45523F53504152430E435050007C 01
      #
      # Problematic Thread: prio=5 tid=0x1001e11f0 nid=0xc runnable
      #

      Note: Test passes with with compiler2.


      This is the line needed to cause the error:
      /net/sqesvr.eng/export/vsn/VM/merlin/weekly/jdk/latest/solsparc/bin/java -d64 -cp /net/sqesvr.eng/export/vsn/VM/testbase/runThese/tests/testbase/testbase_js/classes/engr/Tests/TsdCase TsdCase

      The bug is with 64bit Mixed mode only.

      Correct output should be something like the following.
      -------------Start-----------------
      Mach inf = 0.735
       i 8ip.phi.phi[i][1]= 0.0
       i 9ip.phi.phi[i][1]= 0.0
       i 10ip.phi.phi[i][1]= 0.0
       i 11ip.phi.phi[i][1]= 0.0
       i 12ip.phi.phi[i][1]= 0.0
       i 13ip.phi.phi[i][1]= 0.0
       i 14ip.phi.phi[i][1]= 0.0
       i 15ip.phi.phi[i][1]= 0.0
       i 16ip.phi.phi[i][1]= 0.0
       i 17ip.phi.phi[i][1]= 0.0
       i 18ip.phi.phi[i][1]= 0.0

       ************NOW TIMING JAVA ITERATIVE SOLVER******

       Time in secs is = 38.09

      -------------Done----------------


      Running with java_g -d64 I get the following.
      Java HotSpot(TM) 64-Bit Server VM warning: block layout must be predicted accurately
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(end >= _instsStart && end <= _instsOverflow, "CodeBuffer overflow")
      #
      # Error ID: /net/mersparc.eng/usr/re/hotspot/hotspot1.4/ws/src/share/vm/asm/codeBuffer.hpp, 179 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x10022ddc8 nid=0xc runnable
      #
      Dumping core....
      Abort

            mpalecznsunw Michael Paleczny (Inactive)
            spothugasunw Satheesh Pothuganti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: