8033931: Several nightly tests failing with assert(imin < imax) failed: Unexpected page size
authordcubed
Fri, 07 Feb 2014 11:47:24 -0800
changeset 22749 8121b1d5f498
parent 22748 2964d6e34769
child 22750 a3c879b18f22
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
hotspot/src/os/linux/vm/os_linux.cpp
--- 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;