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

(1.1.x) DGC client should not synchronize on global lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.8
    • core-libs
    • generic
    • generic

      The DGCClient code synchronizes on a global lock while renewing leases or
      registering new remote references. Renewing leases involves one or more
      remote calls to hosts which may not respond until some considerable time
      later, if at all. While leases are being renewed, the global lock is held,
      which prevents new remote references from being registered, which prevents
      unmarshalling of remote references from completing, which pauses the entire
      application.

      This bug is the same as bugid 4137568 except that it applies to the 1.1.x
      branch. The lack of phantom references in 1.1.x makes the fix significantly
      more difficult to implement in 1.1.x.

      ------

      Since bug 4229801 has a testcase that reproduces the problem easily, I will
      close this bug as a duplicate of 4229801. 4229801 is commited to dino.

      patrick.ong@Eng 1999-05-10

            peterjones Peter Jones (Inactive)
            acolleysunw Adrian Colley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: