Purely Internal Synchronization
Garbage Collector Heap Lock
- If a bunch of objects created and freed, use arenas to manage the objects within the thread
JNI pinning - may use single or multiple locks. If your VM vendor implements this with a single lock, complain.
JIT Compilers - may need to lock various structures used by the VM (e.g., grabs lock because it’s going to modify byte code, and for the constant pool. Needs them in synch)
Author | Title | Track | Home