8033931: Several nightly tests failing with assert(imin < imax) failed: Unexpected page size
Summary: Loosen new assert() in get_stack_commited_bottom()
Reviewed-by: dcubed, coleenp, dsamersoff, hseigel
Contributed-by: gerald.thornbrugh@oracle.com
--- a/hotspot/src/os/linux/vm/os_linux.cpp Fri Feb 07 09:03:44 2014 -0800
+++ b/hotspot/src/os/linux/vm/os_linux.cpp Fri Feb 07 11:47:24 2014 -0800
@@ -3002,7 +3002,7 @@
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;