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

missing JVMPI_EVENT_MONITOR_CONTENDED_EXIT events

    XMLWordPrintable

Details

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

    Description



      Name: elR10090 Date: 03/13/2001


      The JDK 1.4.0-beta-b55 and 1.3.1-rc1-b18 for all platforms except Win32
      fail the following test from testbase_nsk:

          nsk/jvmpi/events/mncntexit001

      The test traces JVMPI event JVMPI_EVENT_MONITOR_CONTENDED_EXIT when
      it is enabled by a profiler agent.

      The test java-program runs a number of threads syncronized
      to the main thread by objects. The test profiler agent enables and traces
      JVMPI_EVENT_MONITOR_CONTENDED_ENTERED and JVMPI_EVENT_MONITOR_CONTENDED_EXIT
      events and checks if appropriate events are sent and provide correct
      information. The test also checks if the number of MONITOR_CONTENDED_EXIT
      is not less than the number of MONITOR_CONTENDED_ENTERED events.

      The test reveals that the profiler agent misses some of the
      JVMPI_EVENT_MONITOR_CONTENDED_EXIT events on all platforms but the Windows.

      This does not happen on Windows platform.

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

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

      Running the test outputs:

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b55)
      Java HotSpot(TM) Client VM (build 1.4beta-B55, mixed mode)
      Error: JVMPI_EVENT_MONITOR_CONTENDED_EXIT count = 0
        < JVMPI_EVENT_MONITOR_CONTENDED_ENTERED count = 103

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: