diff src/share/vm/runtime/sharedRuntime.cpp @ 21074:2e35a4ea22ac

Add MaxVectorSize to Graal globals
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 21 Apr 2015 10:47:43 -0700
parents a560c9b81f0f
children be896a1983c0
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Tue Apr 21 14:57:13 2015 +0200
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Tue Apr 21 10:47:43 2015 -0700
@@ -113,11 +113,7 @@
 
 #if defined(COMPILER2) || defined(GRAAL)
   // Vectors are generated only by C2 and Graal.
-#ifdef COMPILER2
-  bool support_wide = is_wide_vector(MaxVectorSize) || IS_GRAAL_DEFINED;
-#else
-  bool support_wide = true;
-#endif
+  bool support_wide = is_wide_vector(MaxVectorSize);
   if (support_wide) {
     _polling_page_vectors_safepoint_handler_blob = generate_handler_blob(CAST_FROM_FN_PTR(address, SafepointSynchronize::handle_polling_page_exception), POLL_AT_VECTOR_LOOP);
   }