8322807: Eliminate -Wparentheses warnings in gc code
Reviewed-by: ayang
This commit is contained in:
parent
c2477a5cad
commit
da1091eed9
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -113,7 +113,7 @@ void PSVirtualSpace::verify() const {
|
|||||||
|
|
||||||
// Reserved region must be non-empty or both addrs must be 0.
|
// Reserved region must be non-empty or both addrs must be 0.
|
||||||
assert(reserved_low_addr() < reserved_high_addr() ||
|
assert(reserved_low_addr() < reserved_high_addr() ||
|
||||||
reserved_low_addr() == nullptr && reserved_high_addr() == nullptr,
|
(reserved_low_addr() == nullptr && reserved_high_addr() == nullptr),
|
||||||
"bad reserved addrs");
|
"bad reserved addrs");
|
||||||
assert(committed_low_addr() <= committed_high_addr(), "bad committed addrs");
|
assert(committed_low_addr() <= committed_high_addr(), "bad committed addrs");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user