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

missing JVMPI_EVENT_OBJECT_ALLOC for class object

XMLWordPrintable

    • sparc
    • solaris_1



      Name: elR10090 Date: 02/08/2001


      The Server VM build 1.4beta-B50 for Solsparc fails the following test
      from testbase_nsk:

          nsk/jvmpi/events/objalloc002

      The test exercises JVMPI event JVMPI_EVENT_OBJECT_ALLOC when it is
      requested by a profiler agent. The test java-program creates a number
      of objects and test profiler agent requests JVMPI_EVENT_OBJECT_ALLOC
      event for each object and checks if appropriate events are sent and
      provide correct information.

      The test reveals that the profiler agent miss the JVMPI_EVENT_OBJECT_ALLOC
      event for the first main class object.

      This does not happen on platforms different from Solsparc.
      This does not happen on the Client VM.

      To reproduce the bug run in GammaBase/Bugs/<this bug number> directory

          sh doit.sh <JDK root directory> <options>

      on SolSparc, Solx86 and Linux platforms, or

          doit.bat <JDK root directory> <options>

      on Windows platforms.

      Running the test outputs:

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b50)
      Java HotSpot(TM) Server VM (build B50, mixed mode)
      Object 0: no appropriate event

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

            dcubed Daniel Daugherty
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: