RFR(XS) : 8178913 : CTW library does not close all opened resources

Igor Ignatyev igor.ignatyev at oracle.com
Tue Apr 18 18:33:05 UTC 2017


http://cr.openjdk.java.net/~iignatyev//8178913/webrev.00/index.html
> 14 lines changed: 6 ins; 3 del; 5 mod; 

Hi all,

could you please review this small fix for CTW library? there were several instance of resources leak in the library, this changeset fixes them by using try-w/-resource where applicable, and explicit close() call were not.

webrev: http://cr.openjdk.java.net/~iignatyev//8178913/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8178913
testing: hotspot/test/testlibrary_tests/ctw

Thanks,
-- Igor 


More information about the hotspot-compiler-dev mailing list