RFR: 8300088: [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE [v3]

Gerard Ziemski gziemski at openjdk.org
Fri Jan 19 16:14:27 UTC 2024


On Thu, 18 Jan 2024 22:05:17 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> Just a couple of nit typos. Otherwise, thumbs up. Don't forget to check for a copyright year update.
> 
> What's the current value of `OPEN_MAX` and `INT_MAX` on macOS these days?

Thank you Dan for the feedback!

The current values on macOS Sonoma (14.2.1) appear to be:

OPEN_MAX: 10240
INT_MAX: 2147483647

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

PR Comment: https://git.openjdk.org/jdk/pull/17361#issuecomment-1900698984


More information about the hotspot-runtime-dev mailing list