RFR: 8360025: (se) Convert kqueue Selector Implementation to use FFM APIs [v4]

Alan Bateman alanb at openjdk.org
Wed Sep 3 15:22:52 UTC 2025


On Wed, 3 Sep 2025 15:00:22 GMT, Darragh Clarke <dclarke at openjdk.org> wrote:

> I could try just replicating the existing code instead of using the generated method?

We always use the ident as an fd so don't use the full width. It doesn't matter if KQueue uses int fd or long ident in the API that it exposes but I'd prefer not to have a mix of both, at least not with good naming to avoid mis-use. If you want a preference then expose just the narrow fd form would work best the use-sites.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25546#discussion_r2319323168


More information about the core-libs-dev mailing list