[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-nio-dev
Subject:    Integrated: 8260304: (se) EPollSelectorImpl wakeup mechanism broken on Linux 32-bit
From:       Aleksey Shipilev <shade () openjdk ! java ! net>
Date:       2021-01-22 20:01:41
Message-ID: ou8ajMMnMtp1sxDi_D89Uv6ApMWUl1XxXX-z-AGNwbE=.31af0512-53c6-40e6-9b0f-c25e672e2c7f () github ! com
[Download RAW message or body]

On Fri, 22 Jan 2021 16:56:28 GMT, Aleksey Shipilev <shade@openjdk.org> wrote:

> This readily manifests in GH Actions testing, for example:
> https://github.com/shipilev/jdk/runs/1748754939
> 
> Reproducible locally with:
> 
> $ CONF=linux-x86-server-fastdebug make images run-test \
>                 TEST=sun/misc/JarIndex/metaInfFilenames/Basic.java
> ...
> Caused by: java.io.IOException: Invalid argument
> at java.base/sun.nio.ch.EventFD.set0(Native Method)
> at java.base/sun.nio.ch.EventFD.set(EventFD.java:48)
> at java.base/sun.nio.ch.EPollSelectorImpl.wakeup(EPollSelectorImpl.java:251)
> 
> The failure is obvious when you look at the code: `long` should be `uint64_t`.
> 
> Additional testing:
> - [x] Failing test on Linux x86_32 (now passes)
> - [x] Failing test on Linux x86_64 (still passes)

This pull request has now been integrated.

Changeset: 5aca934c
Author:    Aleksey Shipilev <shade@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5aca934c
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8260304: (se) EPollSelectorImpl wakeup mechanism broken on Linux 32-bit

Reviewed-by: bpb, alanb

-------------

PR: https://git.openjdk.java.net/jdk/pull/2196


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic