mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
This commit is contained in:
parent
0fcf645cff
commit
dbd3b5a79e
115 changed files with 454 additions and 462 deletions
|
@ -73,8 +73,8 @@ void BarrierSet::write_ref_array(HeapWord* start, size_t count) {
|
|||
// interface, so it is "exactly precise" (if i may be allowed the adverbial
|
||||
// redundancy for emphasis) and does not include narrow oop slots not
|
||||
// included in the original write interval.
|
||||
HeapWord* aligned_start = align_ptr_down(start, HeapWordSize);
|
||||
HeapWord* aligned_end = align_ptr_up (end, HeapWordSize);
|
||||
HeapWord* aligned_start = align_down(start, HeapWordSize);
|
||||
HeapWord* aligned_end = align_up (end, HeapWordSize);
|
||||
// If compressed oops were not being used, these should already be aligned
|
||||
assert(UseCompressedOops || (aligned_start == start && aligned_end == end),
|
||||
"Expected heap word alignment of start and end");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue