You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Joo Seong (Jason) Jeong (JIRA)" <ji...@apache.org> on 2016/08/11 06:41:20 UTC

[jira] [Created] (REEF-1521) Decouple bridge handler setup and DriverStart event delegation

Joo Seong (Jason) Jeong created REEF-1521:
---------------------------------------------

             Summary: Decouple bridge handler setup and DriverStart event delegation
                 Key: REEF-1521
                 URL: https://issues.apache.org/jira/browse/REEF-1521
             Project: REEF
          Issue Type: Sub-task
          Components: REEF Driver, REEF.NET Driver
    Affects Versions: 0.16
            Reporter: Joo Seong (Jason) Jeong
            Assignee: Joo Seong (Jason) Jeong


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)