Possible FileHandle leak in BenchmarkGenerator

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue May 3 11:59:32 UTC 2016


On 05/03/2016 02:13 PM, Alex Blewitt wrote:
> I tested the fix - it's necessary but not sufficient as there is a
> similar file leak for the same named file in the Reader in the
> complete method above as well. Once I patched that in a similar way
> using a try/finally and the safe close from FileUtils it worked.

Thanks!

Like this?
 http://cr.openjdk.java.net/~shade/7901666/poc-v2.patch

Thanks,
-Aleksey




More information about the jmh-dev mailing list