主要就是自己进行标注用到的,想着要是自己一个个弄太麻烦了,还是用脚本直接实现的好。
In ArrayBlockingQueue, all the methods that require the lock copy it to a local final variable before calling lock().