RFR (XXS): 8132728: Memory leak in MethodHandles::verify_ref_kind	function(fastdebug build)
    Dmitry Dmitriev 
    dmitry.dmitriev at oracle.com
       
    Wed Aug  5 16:55:44 UTC 2015
    
    
  
Hello,
Please review this fix which remove small memory leak in debug build. 
Also, I need a sponsor for this fix, who can push it.
MethodHandles::verify_ref_kind contains memory leak. Memory for 'buf' is 
allocated by NEW_C_HEAP_ARRAY but not freed after '__ STOP(buf);'.
Webrev: http://cr.openjdk.java.net/~ddmitriev/8132728/webrev.00/
JBS: https://bugs.openjdk.java.net/browse/JDK-8132728
Tested: JPRT(hotspot test set), hotspot all, vm.quick
Thanks,
Dmitry
    
    
More information about the hotspot-compiler-dev
mailing list