RFR: 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program

Justin King jcking at openjdk.org
Sat Feb 25 18:28:02 UTC 2023


On Fri, 24 Feb 2023 23:15:21 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > Can't we change the type of _state to LineNumberProgramState?
> 
> I think you meant change to `LineNumberProgram` ?
> 
> I'm not really familiar with this code and just want to fix the memory leak that was detected. Any redesign of the code really needs to be a separate RFE.

I agree. Let's take the path of least resistance to removing the leak and follow up with simplification in another PR.

-------------

PR: https://git.openjdk.org/jdk/pull/12738


More information about the hotspot-dev mailing list