hotspot/src/share/vm/opto/compile.cpp
changeset 13883 6979b9850feb
parent 13728 882756847a04
child 13886 8d82c4dfa722
--- a/hotspot/src/share/vm/opto/compile.cpp	Mon Sep 17 17:02:10 2012 -0700
+++ b/hotspot/src/share/vm/opto/compile.cpp	Mon Sep 17 19:39:07 2012 -0700
@@ -825,7 +825,8 @@
                            &_handler_table, &_inc_table,
                            compiler,
                            env()->comp_level(),
-                           has_unsafe_access()
+                           has_unsafe_access(),
+                           SharedRuntime::is_wide_vector(max_vector_size())
                            );
   }
 }
@@ -963,6 +964,7 @@
   _trap_can_recompile = false;  // no traps emitted yet
   _major_progress = true; // start out assuming good things will happen
   set_has_unsafe_access(false);
+  set_max_vector_size(0);
   Copy::zero_to_bytes(_trap_hist, sizeof(_trap_hist));
   set_decompile_count(0);