openjdk6
  1. openjdk6
  2. OPENJDK6-3

Fix memory leak in get_stack_bounds

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: b28
    • Labels:
      None

      Description

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

      http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2011-February/001864.html

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

      http://mail.openjdk.java.net/pipermail/hotspot-dev/2013-February/008695.html

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

        Activity

        gnu.andrew created issue -
        gnu.andrew made changes -
        Field Original Value New Value
        Assignee gnu.andrew [ gnu.andrew ]
        gnu.andrew logged work - 20/Mar/13 10:54 PM
        gnu.andrew made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 30 minutes [ 1800 ]
        Show
        gnu.andrew added a comment - http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/6d78b2dfa5dc
        gnu.andrew made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        gnu.andrew made changes -
        Fix Version/s b28 [ 16583 ]

          People

          • Assignee:
            gnu.andrew
            Reporter:
            gnu.andrew
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 30 minutes
              30m