src/share/vm/runtime/virtualspace.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/virtualspace.cpp	Mon Sep 30 21:36:19 2013
--- new/src/share/vm/runtime/virtualspace.cpp	Mon Sep 30 21:36:19 2013

*** 542,555 **** --- 542,555 ---- char* aligned_upper_new_high = (char*) round_to((intptr_t) unaligned_upper_new_high, upper_alignment()); // Determine which regions need to grow in this expand_by call. // If you are growing in the lower region, high() must be in that ! // region so calcuate the size based on high(). For the middle and ! // region so calculate the size based on high(). For the middle and // upper regions, determine the starting point of growth based on the // location of high(). By getting the MAX of the region's low address ! // (or the prevoius region's high address) and high(), we can tell if it ! // (or the previous region's high address) and high(), we can tell if it // is an intra or inter region growth. size_t lower_needs = 0; if (aligned_lower_new_high > lower_high()) { lower_needs = pointer_delta(aligned_lower_new_high, lower_high(), sizeof(char));

src/share/vm/runtime/virtualspace.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File