Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-43

Deadlock in group VM creation failure with restartable objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • jtsk_2.1
    • None
    • com_sun_jini_phoenix
    • None
    • 6512930

    Description

      Bugtraq ID 6512930

      A deadlock condition exists in Activation.GroupEntry.getInstantiator. If the group VM exits, and there is a restartable customer, the watchdog will attempt to restart it, which results in another getInstantiator call. This can "recurse" again and again. Eventually one of those getInstantiator calls can block in Pstartgroup if the groupThrottle is reached, and it blocks with the GroupEntry locked. If all of that occurs before some/all of the earlier getInstantiator threads are scheduled and executed, those threads are stuck waiting to reacquire the GroupEntry lock coming out of the wait, so they won't execute a Vstartgroup, and a deadlock results.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marbro Mark Brouwer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: