You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Abdullah Alamoudi (JIRA)" <ji...@apache.org> on 2016/05/13 23:36:12 UTC

[jira] [Created] (ASTERIXDB-1444) IHyracksFrameMgrContext release method needs to be revisited

Abdullah Alamoudi created ASTERIXDB-1444:
--------------------------------------------

             Summary: IHyracksFrameMgrContext release method needs to be revisited
                 Key: ASTERIXDB-1444
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1444
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Abdullah Alamoudi
            Assignee: Till Westmann


/**
     * The caller should call this method to return the pre-allocated frames.
     * @param bytes
     * 
     * Note:
     * Empty implementation in FrameManager
     * Empty implementation in DefaultHyracksCommonContext
     * 
     * joblet.deallocateFrames(bytes) in Task which decrement the number of allocated bytes in both the job and the appCtx
     * 
     * It doesn't re-use frames which one can easily tell from the signature.
     * TODO: Add another deallocate method which re-use frames
     */
    void deallocateFrames(int bytes);



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