Caideyipi opened a new pull request, #18239: URL: https://github.com/apache/iotdb/pull/18239
## Description Enable the HotSpot CRC32 intrinsic in the default DataNode JVM options on Linux and Windows. - Add -XX:+UseCRC32Intrinsics to both DataNode environment scripts. - Add -XX:+UnlockDiagnosticVMOptions before the intrinsic flag on Linux; Windows already enables it. - Keep the change scoped to DataNode, where the AirGap sender and receiver calculate CRC32 checksums. This reduces use of the JNI critical fallback after the CRC32 method is JIT compiled. Cold or interpreted execution may still use the fallback path. ### Verification - Verified with JDK 17 that UseCRC32Intrinsics is true and reported as a command-line diagnostic option. - Verified the diagnostic unlock option precedes the intrinsic option in both scripts. - Ran git diff --check. <hr> This PR has: - [x] been self-reviewed. - [x] added comments explaining the intent of the JVM options. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - scripts/conf/datanode-env.sh - scripts/conf/windows/datanode-env.bat -- 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]
