Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4275

Use Google Guava Intern Facility

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3, 0.10.2
    • None
    • None

    Description

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 50m
                3h 50m

                Slack

                  Issue deployment