GitHub user jacques-n opened a pull request:
https://github.com/apache/drill/pull/283
DRILL-4144: Allocator updates
Includes the updates provided by the original DRILL-1942 patch along with a
number of improvements to better clarify ownership and transfer semantics as
well as to avoid contention issues.
A doc is included (in addition to extension javadocs). You can see the doc
here:
https://github.com/jacques-n/drill/blob/DRILL-4144/exec/memory/base/src/main/java/org/apache/drill/exec/memory/README.md
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacques-n/drill DRILL-4144
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/283.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #283
----
commit 04da30cfd0c37f6289b4ef5a7517c43828845ef5
Author: Chris Westin <[email protected]>
Date: 2015-11-11T22:57:16Z
DRILL-4144: Clean up close behaviors.
commit 881284281d1f22db994cde42b876a57882377144
Author: Chris Westin <[email protected]>
Date: 2015-11-11T22:57:47Z
DRILL-4144: Add new allocator
commit 14f5b4dbb94a18b9c697560f37e2d2cb666d5f30
Author: Jacques Nadeau <[email protected]>
Date: 2015-11-16T01:26:02Z
DRILL-4144: Allocator Improvements
- make Allocator mostly lockless
- change BaseAllocator maps to direct references
- add documentation around memory management model
- move transfer and ownership methods to DrillBuf
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---