Add necessary native-image configuration files for epoll#13158
Conversation
|
Do we also need the same for kqueue and our native resolver ? |
|
@gradinac @normanmaurer We have |
|
@normanmaurer I think you are right, at the very least we would need the @violetagg This is very nice, thank you for listing it here! :) I think it would make sense to move it to Netty itself - in this way, these features will work out of the box with Netty. It may make sense to keep them in the metadata repo for now also so that older versions of Netty can still work properly Should these 2 be done as part of this or a follow-up PR? |
|
@normanmaurer epoll support for graal native is useful on its own as I dont think people often deploy on macos hosts - and if they do, they can use nio instead of kqueue. |
|
Let me pull in this first. We can do the rest as a followup |
|
@gradinac can you also do a PR for |
|
Sounds good :) I think we won't need the same thing for Netty 5 on |
Motivation:
Epoll currently doesn't work out of the box on native-image without passing in additional flags and metadata.
Modification:
This PR adds the necessary metadata so that epoll works out of the box with native-image. The metadata is conditional - it should only be included in an image if epoll is actually used.
Result:
Fixes #10616