Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348312

Summary: BlameGenerator doesn't release RevWalk graph
Product: [Technology] JGit Reporter: Shawn Pearce <sop>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Shawn Pearce CLA 2011-06-04 19:47:58 EDT
The results from the BlameGenerator leaves all of the parent pointers fully connected. If a source file has existed since the root commit of the project, but isn't modified often (e.g. a top level README) the RevCommits returned by the BlameGenerator will hold onto the entire project history in memory. This is expensive.

The BlameGenerator should cut the history graph down by rewriting the parent pointers similar to what the PathFilter does when its attached to a RevWalk.