7012823: TEST_BUG: java/nio/MappedByteBuffer tests leave file mappings that prevent clean-up (win)

Rémi Forax forax at univ-mlv.fr
Mon Feb 7 01:13:22 PST 2011


  Le 05/02/2011 17:39, Alan Bateman a écrit :
>
> Two of the MappedByteBuffer tests fail intermittently on Windows when 
> running jtreg with -retain:fail,error. The tests don't actually fail 
> but rather it's that jtreg can't remove the files that the tests leave 
> behind.  To avoid these failure I'd like to change these tests so that 
> they use files in the temporary file directory and in addition, do a 
> GC+sleep at the end to improve the change that the files will be 
> unmapped before the VM terminates. The webrev with the changes is here:
>  http://cr.openjdk.java.net/~alanb/7012823/webrev/
>
> Thanks,
> Alan.

Looks good.

Rémi



More information about the nio-dev mailing list