hotspot/src/share/vm/asm/codeBuffer.cpp
changeset 33794 41ef3dc95179
parent 33593 60764a78fa5c
child 35086 bbf32241d851
child 35492 c8c0273e6b91
equal deleted inserted replaced
33790:229ed95d8958 33794:41ef3dc95179
   871     }
   871     }
   872   }
   872   }
   873 
   873 
   874   // Figure new capacity for each section.
   874   // Figure new capacity for each section.
   875   csize_t new_capacity[SECT_LIMIT];
   875   csize_t new_capacity[SECT_LIMIT];
       
   876   memset(new_capacity, 0, sizeof(csize_t) * SECT_LIMIT);
   876   csize_t new_total_cap
   877   csize_t new_total_cap
   877     = figure_expanded_capacities(which_cs, amount, new_capacity);
   878     = figure_expanded_capacities(which_cs, amount, new_capacity);
   878 
   879 
   879   // Create a new (temporary) code buffer to hold all the new data
   880   // Create a new (temporary) code buffer to hold all the new data
   880   CodeBuffer cb(name(), new_total_cap, 0);
   881   CodeBuffer cb(name(), new_total_cap, 0);