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/08/10 02:29:45 UTC

[jira] [Resolved] (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 resolved REEF-321.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13

Resolved via [#356|https://github.com/apache/incubator-reef/pull/356]

> 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
>             Fix For: 0.13
>
>
> 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)