comparison src/share/vm/runtime/virtualspace.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents 04b18a42c2f3
children e5d78f318aec
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
549 char* aligned_upper_new_high = 549 char* aligned_upper_new_high =
550 (char*) round_to((intptr_t) unaligned_upper_new_high, upper_alignment()); 550 (char*) round_to((intptr_t) unaligned_upper_new_high, upper_alignment());
551 551
552 // Determine which regions need to grow in this expand_by call. 552 // Determine which regions need to grow in this expand_by call.
553 // If you are growing in the lower region, high() must be in that 553 // If you are growing in the lower region, high() must be in that
554 // region so calcuate the size based on high(). For the middle and 554 // region so calculate the size based on high(). For the middle and
555 // upper regions, determine the starting point of growth based on the 555 // upper regions, determine the starting point of growth based on the
556 // location of high(). By getting the MAX of the region's low address 556 // location of high(). By getting the MAX of the region's low address
557 // (or the prevoius region's high address) and high(), we can tell if it 557 // (or the previous region's high address) and high(), we can tell if it
558 // is an intra or inter region growth. 558 // is an intra or inter region growth.
559 size_t lower_needs = 0; 559 size_t lower_needs = 0;
560 if (aligned_lower_new_high > lower_high()) { 560 if (aligned_lower_new_high > lower_high()) {
561 lower_needs = 561 lower_needs =
562 pointer_delta(aligned_lower_new_high, lower_high(), sizeof(char)); 562 pointer_delta(aligned_lower_new_high, lower_high(), sizeof(char));