8033931: Several nightly tests failing with assert(imin < imax) failed: Unexpected page size

Loosen new assert() in get_stack_commited_bottom()

Reviewed-by: dcubed, coleenp, dsamersoff, hseigel
This commit is contained in:
Gerald Thornbrugh 2014-02-07 11:47:24 -08:00 committed by Daniel D. Daugherty
parent 62755b7358
commit 3d76a6654e

View File

@ -3002,7 +3002,7 @@ address get_stack_commited_bottom(address bottom, size_t size) {
unsigned imin = 1, imax = pages + 1, imid;
int mincore_return_value = 0;
assert(imin < imax, "Unexpected page size");
assert(imin <= imax, "Unexpected page size");
while (imin < imax) {
imid = (imax + imin) / 2;