RFR(S): 8196565: AIX: Clean up os::javaTimeNanos according to AIX/PASE specification
Baesken, Matthias
matthias.baesken at sap.com
Thu Feb 1 09:27:03 UTC 2018
Hi Christoph, maybe it would be better to check the return code of time_base_to_time, the doc at
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.basetrf2/read_real_time.htm
says : "The time_base_to_time subroutine returns 0 if the conversion to real time is successful (or not necessary), otherwise -1 is returned."
So errors might (at least in theory) occur .
(otherwise it looks good to me, not a Reviewer however)
Best regards, Matthias
From: ppc-aix-port-dev [mailto:ppc-aix-port-dev-bounces at openjdk.java.net] On Behalf Of Langer, Christoph
Sent: Donnerstag, 1. Februar 2018 10:11
To: hotspot-runtime-dev at openjdk.java.net; ppc-aix-port-dev at openjdk.java.net
Subject: RFR(S): 8196565: AIX: Clean up os::javaTimeNanos according to AIX/PASE specification
Hi,
please review a fix for the os::javaTimeNanos method on AIX.
It implements the information we got from the AIX documentation and from the IBM folks regarding the behavior of mread_real_time on Pase.
Bug: https://bugs.openjdk.java.net/browse/JDK-8196565
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8196565.0/
Thanks & Best regards
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20180201/71dc7634/attachment.html>
More information about the ppc-aix-port-dev
mailing list