RFR(S): JDK-8035952 Remove use of JVM_Open, JVM_Read and JVM_Close functions from serviceability code

Martin Buchholz martinrb at google.com
Mon Mar 3 12:41:39 PST 2014


On Mon, Mar 3, 2014 at 2:30 AM, Frederic Parain
<frederic.parain at oracle.com>wrote:

> Alan,
>
> Thank you for the review.
>
> I can use open64, even if I doubt the psinfo file
> would be so big that it requires a 64-bits offset
> (it contains a kernel data structure mapped to a
> file and its size is currently 336 bytes).
>
> JVM_Open was not restartable.
> JVM_Read was restartable, but none of the other
> interruptible system calls in OperatingSystemImpl.c
> handles EINTR.
>

Isn't failure to handle EINTR generally a bug?
Don't we almost always want to restart our system calls in case of async
signal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20140303/7602da45/attachment.html 


More information about the serviceability-dev mailing list