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

no METHOD_ENTRY2 events and crash in -Xcomp mode

    • generic, x86, sparc
    • generic, linux, solaris_7, solaris_8, windows_2000



      Name: dkR10031 Date: 05/05/2000



      The HotSpot both Client and Server VMs + Solaris_JDK_1.3-b14 (Solaris) fail the
      test
      nsk/jvmpi/events/mentry2001 from testbase_nsk in compiled mode.

      The test demonstrates that Server VM generates no JVMPI_EVENT_METHOD_ENTRY2
      events
      and Client VM in addition crashes.
      -Xmixed mode works OK as well as HS on win32.

      To reproduce the bug run
      doit.sh <jdk root directory> -Xcomp
      in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

      The test produces the output:

      $ doit.sh /export/ld24/java/hotspot/Solaris_JDK_1.3 "-server -Xcomp"
      java version "1.3"
      Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b14)
      Java HotSpot(TM) Server VM (build
      product+1.3+solaris_baseline+compiler2+20000430-222632, compiled mode)
      No METHOD_ENTRY2 events!

      $ doit.sh /export/ld24/java/hotspot/Solaris_JDK_1.3 -Xcomp
      java version "1.3"
      Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b14)
      Java HotSpot(TM) Client VM (build
      product+1.3+solaris_baseline+compiler1+20000430-222632, compiled mode)
      #
      # HotSpot Virtual Machine Error, Unexpected Signal 11
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 4F533F534F4C415249530E435050081A 01
      #
      # Problematic Thread: prio=5 tid=0xc10a8 nid=0xa runnable
      #
      Error ID: os_solaris.cpp, 2074

      $ doit.sh /export/ld24/java/hotspot/Solaris_JDK_1.3 -server
      java version "1.3"
      Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b14)
      Java HotSpot(TM) Server VM (build
      product+1.3+solaris_baseline+compiler2+20000430-222632, mixed mode)
      METHOD_ENTRY2 events sent as expected

      ======================================================================
      Here is a snippet from a failing .log file:

      [2007-03-20T18:00:28.62] Method meth00()Ljava/lang/String;: no METHOD_ENTRY2 event or incorrect method ID
      [2007-03-20T18:00:28.62] Method meth01()Ljava/lang/String;: no METHOD_ENTRY2 event or incorrect method ID
      [2007-03-20T18:00:28.62] Method meth05()V: no METHOD_ENTRY2 event or incorrect method ID
      [2007-03-20T18:00:28.62] # Test level exit status: 97
      [2007-03-20T18:00:28.62]

            Unassigned Unassigned
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: