zuston opened a new pull request, #2577:
URL: https://github.com/apache/uniffle/pull/2577
### What changes were proposed in this pull request?
Cache the java9+ var to eliminate lock when creating concurrent hashmap
### Why are the changes needed?
fix #2576 .
`Enums.getIfPresent` will always using the global lock, this is unnecessary
and hurt the performance
### Does this PR introduce _any_ user-facing change?
<!--
(Please list the user-facing changes introduced by your change, including
1. Change in user-facing APIs.
2. Addition or removal of property keys.)
-->
No.
### How was this patch tested?
Existing tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]