Code review for os::close can restart ::close but that is not a restartable syscall

David Holmes david.holmes at oracle.com
Mon Jun 10 22:30:18 PDT 2013


Looks good to me Ron!

David

On 11/06/2013 9:23 AM, Ron Durbin wrote:
> JDK-7178026 os::close can restart ::close but that is not a restartable syscall
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7178026
>
> https://jbs.oracle.com/bugs/browse/JDK-7178026
>
> OpenJDK URL: http://cr.openjdk.java.net/~rdurbin/7178026-webrev/7178026_cr0/webrev/
>
> Internal URL: http://javaweb.us.oracle.com/~rdurbin/7178026-webrev/7178026_cr0/webrev/
>
> Summary: Several JVM platforms including Solaris, Linux, BSD and MAC OS X all do not support restarting
> an interrupted call to the native close(2) system call.  All JVM code which supported restarting native
> calls to close(2) have been modified to not restart on interrupt.
>
> All of the code modified for this change is platform specific so only Solaris, Linux, BSD and MAC OS are
> affected.
>
> Testing so far has included:
>
> JPRT all platforms
> VM quick test all platforms
>


More information about the hotspot-runtime-dev mailing list