mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8152358: code and comment cleanups found during the hunt for 8077392
Reviewed-by: gthornbr, kvn, cvarming
This commit is contained in:
parent
66570c722b
commit
2e87e3178c
8 changed files with 71 additions and 43 deletions
|
@ -1284,8 +1284,8 @@ void os::set_memory_serialize_page(address page) {
|
|||
_mem_serialize_page = (volatile int32_t *)page;
|
||||
// We initialize the serialization page shift count here
|
||||
// We assume a cache line size of 64 bytes
|
||||
assert(SerializePageShiftCount == count,
|
||||
"thread size changed, fix SerializePageShiftCount constant");
|
||||
assert(SerializePageShiftCount == count, "JavaThread size changed; "
|
||||
"SerializePageShiftCount constant should be %d", count);
|
||||
set_serialize_page_mask((uintptr_t)(vm_page_size() - sizeof(int32_t)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue