You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Andrew Chung (JIRA)" <ji...@apache.org> on 2015/08/09 05:50:45 UTC

[jira] [Assigned] (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 ]

Andrew Chung reassigned REEF-321:
---------------------------------

    Assignee: Andrew Chung

> 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
>            Assignee: Andrew Chung
>            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)