RFR: 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program [v3]

David Holmes dholmes at openjdk.org
Mon Feb 27 04:26:15 UTC 2023


> After allocating:
> 
> _state = new (std::nothrow) LineNumberProgramState(_header);
> 
> we need to `delete _state` before returning.
> 
> Testing: tiers 1-3
> 
> Thanks.

David Holmes has updated the pull request incrementally with one additional commit since the last revision:

  Revert unnecessary change

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12738/files
  - new: https://git.openjdk.org/jdk/pull/12738/files/e213ad56..af294d35

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12738&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12738&range=01-02

  Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12738.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12738/head:pull/12738

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


More information about the hotspot-dev mailing list