Request for review: 6749267: Signal handler should save/restore errno
harold seigel
harold.seigel at oracle.com
Mon Feb 18 06:07:04 PST 2013
Hi,
Please review the following change.
Summary: With this change, the actual signal handler saves the errno
before calling the function that does most of the signal handling
processing. It then restores the value of errno when the signal
handling processing function returns.
Open webrev: http://cr.openjdk.java.net/~hseigel/bug_6749267/
<http://cr.openjdk.java.net/%7Ehseigel/bug_6749267/>
Bug link at: https://jbs.oracle.com/bugs/browse/JDK-6749267
The changes were tested with JPRT, JCK Lang and VM tests, UTE tests, and
with JPRT. Also, I used the debugger to change the value of errno
inside of the signal handling processing method and then verified that
it got restored properly.
Thanks! Harold
More information about the hotspot-runtime-dev
mailing list