--- a/hotspot/src/share/vm/gc/shared/barrierSet.inline.hpp Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/shared/barrierSet.inline.hpp Tue Jul 04 15:58:10 2017 +0200
@@ -73,8 +73,8 @@
// 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");