[OPENJDK6-3] Fix memory leak in get_stack_bounds Created: 20/Mar/13  Updated: 15/Jul/13  Resolved: 22/May/13

Status: Resolved
Project: openjdk6
Component/s: None
Affects Version/s: None
Fix Version/s: b28

Type: Bug Priority: Minor
Reporter: gnu.andrew Assignee: gnu.andrew
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 30 minutes
Original Estimate: Not Specified


Oracle bug 7017193 was created for a small memory leak in get_stack_bounds due to getline failing, but having allocated memory:


The upstream fix in OpenJDK 7 & 8 went too far, reimplementing the process entirely and causing bugs and performance issues:


We should apply a simpler fix to OpenJDK 6, just freeing the memory on getline failure.

Comment by gnu.andrew [ 22/May/13 ]


Generated at Tue Oct 25 09:23:23 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.