changeset 22749:8121b1d5f498

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
author dcubed
date Fri, 07 Feb 2014 11:47:24 -0800
parents 2964d6e34769
children a3c879b18f22
files hotspot/src/os/linux/vm/os_linux.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;