< prev index next >
src/hotspot/share/gc/shared/oopStorageParState.hpp
Print this page
rev 50955 : imported patch rename_allocate_mutex
*** 50,60 ****
// removal of a block from the _active_array is performed with _active_mutex
// locked. This prevents concurrent iteration and empty block deletion from
// interfering with with each other.
//
// Both allocate() and delete_empty_blocks_concurrent() lock the
! // _allocate_mutex while performing their respective list and array
// manipulations, preventing them from interfering with each other.
//
// When allocate() creates a new block, it is added to the end of the
// _active_array. Then _active_array's _block_count is incremented to account
// for the new block. When concurrent iteration is started (by a parallel
--- 50,60 ----
// removal of a block from the _active_array is performed with _active_mutex
// locked. This prevents concurrent iteration and empty block deletion from
// interfering with with each other.
//
// Both allocate() and delete_empty_blocks_concurrent() lock the
! // _allocation_mutex while performing their respective list and array
// manipulations, preventing them from interfering with each other.
//
// When allocate() creates a new block, it is added to the end of the
// _active_array. Then _active_array's _block_count is incremented to account
// for the new block. When concurrent iteration is started (by a parallel
< prev index next >