mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8014971: Minor code cleanup of the freelist management
Reviewed-by: jwilhelm, jmasa, tschatzl
This commit is contained in:
parent
b33547e347
commit
0be2f273c7
6 changed files with 1 additions and 29 deletions
|
@ -3381,7 +3381,6 @@ bool ConcurrentMarkSweepGeneration::grow_by(size_t bytes) {
|
|||
assert_locked_or_safepoint(Heap_lock);
|
||||
bool result = _virtual_space.expand_by(bytes);
|
||||
if (result) {
|
||||
HeapWord* old_end = _cmsSpace->end();
|
||||
size_t new_word_size =
|
||||
heap_word_size(_virtual_space.committed_size());
|
||||
MemRegion mr(_cmsSpace->bottom(), new_word_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue