You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/05/12 20:36:00 UTC

[jira] [Updated] (REEF-321) AllocatedEvaluatorBridge constructor needlessly loads the class hierarchy

     [ https://issues.apache.org/jira/browse/REEF-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Weimer updated REEF-321:
-------------------------------
    Labels: Performance  (was: )

> AllocatedEvaluatorBridge constructor needlessly loads the class hierarchy
> -------------------------------------------------------------------------
>
>                 Key: REEF-321
>                 URL: https://issues.apache.org/jira/browse/REEF-321
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF Bridge
>            Reporter: Markus Weimer
>            Priority: Minor
>              Labels: Performance
>
> The constructor for {{AllocatedEvaluatorBridge}} needlessly loads the class hierarchy from disk:
> {code}
> public AllocatedEvaluatorBridge(final AllocatedEvaluator allocatedEvaluator, final String serverInfo) {
> ...
>     clrClassHierarchy = Utilities.loadClassHierarchy(NativeInterop.CLASS_HIERARCHY_FILENAME);
> ...
> }
> {code}
> We could follow the approach taken in [REEF-310] and augment the factory to also produce the {{AllocatedEvaluatorBridge}} to prevent this from happening.



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