Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1520 Enable concurrent processing of .NET driver-side events
  3. REEF-1521

Decouple bridge handler setup and DriverStart event delegation

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 0.16
    • Labels:
      None

      Description

      The code for setting up Java-DotNET bridge handles (BridgeHandlerManager) and the actual delegation of DriverStart events are done in the same function (NativeInterop.callClrSystemOnStartHandler-JavaClrBridge::Java_org_apache_reef_javabridge_NativeInterop_callClrSystemOnStartHandler). These can and should be decoupled, since they do not necessarily have to be done together. Moreover, we can take the delegation of DriverStart out of the synchronized blocks so that they do not block other events from being handled. The same fix can be applied to DriverRestart events too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsjason Joo Seong Jeong
                Reporter:
                jsjason Joo Seong Jeong
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: