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

Hotspot 1.0.1, mutex.cpp , assertion failures related to _supress_signal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.0
    • hotspot
    • beta2
    • generic
    • generic



      Name: clC74495 Date: 11/12/99


      In mutex.cpp , there are two places where the statement
               _supress_signal = true;
      occurs,
      one in Mutex::lock() and one in Mutex::try_lock() .

      If these paths are taken , an assertion failure will occur
      when the mutex is unlocked, when running on a debug build.

        To make the consistency checks in Mutex::unlock() pass, it appears
      that the statement
          debug_only(_lock_count++; )
      should be added after each
           _supress_signal = true;
      (Review ID: 97748)
      ======================================================================

            kbr Kenneth Russell (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: