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

assert(k->klass_part()->oop_is_instance(), "cast to instanceKlass")

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



      Name: dkR10031 Date: 04/17/2000



      The HotSpot Client VM 1.3rc3-Z (both win32 and Solaris) as well as
      HotSpot Server VM 2.0fcs-D fails the test
      nsk/jvmpi/events/objalloc001 from testbase_nsk.

      The test profiler agent catches JVMPI_EVENT_OBJECT_ALLOC event and
      calls RequestEvent(JVMPI_EVENT_CLASS_LOAD, event->u.obj_alloc.class_id)
      if class_id is not NULL. The crash happens when the test java-program
      creates 2-dimensional int array.
      Classic passes the test.

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

      Running on Solaris the test outputs:

      $ doit.sh /export/ld24/java/hotspot/jdk1.3.0/solaris
      java version "1.3.0rc3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
      Java HotSpot(TM) Client VM (build 1.3.0rc3-Z-debug, interpreted mode)
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert(k->klass_part()->oop_is_instance(), "cast to instanceKlass")
      #
      # Error ID:
      /usr/re/hotsparc_client1.3/ws/solsparc/hotsparc_client1.3fcs/build/solaris/../..
      /sr
      c/share/vm/oops/instanceKlass.hpp, 322 [ Patched ]
      #
      Dumping core....
      Abort

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

      Name: elR10090 Date: 07/09/2001


      This bug affects also the following testbase_nsk test:
          nsk/jvmpi/events/objalloc002

      Pavel N. Visotsky <###@###.###>

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

            jloizeausunw Jane Loizeaux (Inactive)
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: