mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8026849: Fix typos in the GC code, part 2
Fixed typos in assert messages, flag descriptions and verbose messages Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
5d460f1f3d
commit
40ba2bba2c
16 changed files with 27 additions and 31 deletions
|
@ -54,8 +54,8 @@ size_t CardTableModRefBS::cards_required(size_t covered_words)
|
|||
size_t CardTableModRefBS::compute_byte_map_size()
|
||||
{
|
||||
assert(_guard_index == cards_required(_whole_heap.word_size()) - 1,
|
||||
"unitialized, check declaration order");
|
||||
assert(_page_size != 0, "unitialized, check declaration order");
|
||||
"uninitialized, check declaration order");
|
||||
assert(_page_size != 0, "uninitialized, check declaration order");
|
||||
const size_t granularity = os::vm_allocation_granularity();
|
||||
return align_size_up(_guard_index + 1, MAX2(_page_size, granularity));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue