RFR: 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT

Fabian Meumertzheim duke at openjdk.org
Thu Apr 11 12:27:55 UTC 2024


… to avoid OVERFLOW_EVENT

The limit on the number of events buffered for a single `j.n.f.WatchKey` is now configurable via the `sun.nio.fs.maxWatchEvents`.

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

Commit messages:
 - 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT

Changes: https://git.openjdk.org/jdk/pull/18739/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18739&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330077
  Stats: 102 lines in 2 files changed: 100 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18739.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18739/head:pull/18739

PR: https://git.openjdk.org/jdk/pull/18739


More information about the nio-dev mailing list