Duplicate :
|
With the permanent generation allocations from the perm gen were guarded with the Heap_lock. Allocations in Metaspaces (replacement for perm gen) are protected by per Metaspace locks. Removing the use of the Heap_lock here previously caused problems. Check if there is still a need for the Heap_lock and, if so, why is it needed.
|