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

David Holmes david.holmes at oracle.com
Thu May 4 04:18:10 UTC 2017


On 4/05/2017 2:07 PM, Vyom Tewari wrote:
> Hi David,
>
> I will look into the issue.

Thanks. I filed:

https://bugs.openjdk.java.net/browse/JDK-8179602

as you probably saw.

David

>
> Thanks,
>
> Vyom
>
>
> On Thursday 04 May 2017 06:29 AM, David Holmes wrote:
>>> 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