RFR: 8286597: Implement PollerProvider on AIX [v9]

Alan Bateman alanb at openjdk.org
Fri May 19 09:32:58 UTC 2023


On Fri, 19 May 2023 09:17:48 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Tyler Steele has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Fixup
>>  - Accept @turbanoff's changes
>
> src/java.base/aix/classes/sun/nio/ch/PollsetPoller.java line 107:
> 
>> 105:             polled(fd);
>> 106:         }
>> 107:         Pollset.freePollArray(buffer);
> 
> If I read this correctly, there is a malloc/free per poll, is that right?

If you look at the Poller implementations on the other platform you'll see that they allocate the poll array at construction time, I think that is what you want here too.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13452#discussion_r1198750755


More information about the hotspot-dev mailing list