JDK10 RFR: 8165437 Evaluate the use of gettimeofday in Networking code

David Holmes david.holmes at oracle.com
Thu May 4 00:59:51 UTC 2017


> please find the updated
> webrev(http://cr.openjdk.java.net/~vtewari/8165437/webrev0.7/index.html).

This change is broken on 32-bit systems - JVM_Nanotime returns a jlong 
which is always 64-bit, but the code uses long for the nanotimeout 
values, which will be 32-bit on 32-bit systems!

This change appears to be causing massive testing failures due to jtreg 
agentvm failing due to sock connection issues. Most obvious with 32-bit 
linux builds. However we also see a some failures on OSX which is not 
explained by the long vs jlong issue.

David
-----


More information about the net-dev mailing list