Linux: intermittent hang due to mutex being granted to suspended thread (2)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0_02
    • Affects Version/s: 1.4.1
    • Component/s: hotspot
    • None
    • 02
    • generic
    • linux

        Same problem as 4461173, but this time it happens on pthread_cond_wait()
        and pthread_cond_timedwait(). pthread_cond_wait() and pthread_cond_timedwait()
        need to reenter the mutex once the condition variable is signaled
        (or timed out). If it's signal suspended when it's waiting for the mutex,
        OS may still grant the mutex to the suspended thread and cause hangs.

        This happens on SR_lock during PepTest stress tests.

              Assignee:
              Hui Huang (Inactive)
              Reporter:
              Hui Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: