David Mollitor created TEZ-4275:
-----------------------------------
Summary: Use Google Guava Intern Facility
Key: TEZ-4275
URL: https://issues.apache.org/jira/browse/TEZ-4275
Project: Apache Tez
Issue Type: Improvement
Reporter: David Mollitor
Assignee: David Mollitor
Google Guava has a pretty cool Interner facility.
* More memory efficient than current offering. Map contains a weak key and a static dummy
value (current implementation uses a weak value)
* Current implementation has a single lock around the entire data structure. Google segments
their data structure into (default: 4) segments for better concurrency
* All the other thoughtful stuff Google has added into this feature
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
|