mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8359224: G1: Incorrect size unit in logging of G1CollectedHeap::alloc_archive_region
Reviewed-by: tschatzl, shade
This commit is contained in:
parent
57cabc6d74
commit
417f8ecf07
@ -499,7 +499,7 @@ HeapWord* G1CollectedHeap::alloc_archive_region(size_t word_size, HeapWord* pref
|
||||
|
||||
if (reserved.word_size() <= word_size) {
|
||||
log_info(gc, heap)("Unable to allocate regions as archive heap is too large; size requested = %zu"
|
||||
" bytes, heap = %zu bytes", word_size, reserved.word_size());
|
||||
" bytes, heap = %zu bytes", word_size * HeapWordSize, reserved.byte_size());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user