Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase errno cache and guard against IOOBE (#13254)
Motivation: In the past we cached up to 512 errno values and used this cache to lookup the string representation without checking if the value if > 512. This value might be a bit low as more errno values are added over the time. Modifications: - Cache up to errno code 2048 - Use JNI call if errno code was not cached and so not throw an IOOBE. Result: No more exceptions on un-cached errno codes
- Loading branch information
1 parent
eb3feb4
commit 5d1f996
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters