hotspot/src/share/vm/opto/graphKit.cpp
changeset 46620 750c6edff33b
parent 46542 73dd19b96b5d
child 46630 75aa3e39d02c
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -3562,8 +3562,8 @@
 
   // --- Size Computation ---
   // array_size = round_to_heap(array_header + (length << elem_shift));
-  // where round_to_heap(x) == round_to(x, MinObjAlignmentInBytes)
-  // and round_to(x, y) == ((x + y-1) & ~(y-1))
+  // where round_to_heap(x) == align_to(x, MinObjAlignmentInBytes)
+  // and align_to(x, y) == ((x + y-1) & ~(y-1))
   // The rounding mask is strength-reduced, if possible.
   int round_mask = MinObjAlignmentInBytes - 1;
   Node* header_size = NULL;