< prev index next >

src/cpu/ppc/vm/c1_MacroAssembler_ppc.cpp

Print this page

        

@@ -338,11 +338,11 @@
   int log2_elt_size = exact_log2(elt_size);
 
   // Check for negative or excessive length.
   size_t max_length = max_array_allocation_length >> log2_elt_size;
   if (UseTLAB) {
-    size_t max_tlab = align_size_up(ThreadLocalAllocBuffer::max_size() >> log2_elt_size, 64*K);
+    size_t max_tlab = align_up(ThreadLocalAllocBuffer::max_size() >> log2_elt_size, 64*K);
     if (max_tlab < max_length) { max_length = max_tlab; }
   }
   load_const_optimized(t1, max_length);
   cmpld(CCR0, len, t1);
   bc_far_optimized(Assembler::bcondCRbiIs1, bi0(CCR0, Assembler::greater), slow_case);
< prev index next >