changeset 5258:81c8c56eecf6

8038899: Safer safepoints Reviewed-by: kvn, ahgross
author twisti
date Fri, 18 Apr 2014 17:05:33 -1000
parents dc31bfb7b37a
children ad547adc14ab
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Apr 16 22:09:02 2014 -0700
+++ b/src/share/vm/runtime/arguments.cpp	Fri Apr 18 17:05:33 2014 -1000
@@ -2057,6 +2057,8 @@
     PrintNMTStatistics = false;
   }
 
+  status &= verify_interval(SafepointPollOffset, 0, os::vm_page_size() - BytesPerWord, "SafepointPollOffset");
+
   return status;
 }