Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/virtualspace.cpp @ 14318:1020b892787b
Merge
author | hseigel |
---|---|
date | Sun, 02 Feb 2014 15:31:40 -0500 |
parents | 63a4eb8bcd23 |
children | e5d78f318aec |
comparison
equal
deleted
inserted
replaced
14317:b59507f713e0 | 14318:1020b892787b |
---|---|
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)); |