(Use that key with pthread_setspecific to store the JNIEnv in thread-local-storage; that way it’ll be
此外,使用 Thread-Local-Storage 来优化多线程环境下的性能,避免了对 Bucket 的频繁读写访问。总体来说,文章深入探讨了 ArrayPool 的实现细节和性能优化。