hotspot/src/share/vm/opto/compile.cpp
changeset 13883 6979b9850feb
parent 13728 882756847a04
child 13886 8d82c4dfa722
equal deleted inserted replaced
13882:80d5d0d21b75 13883:6979b9850feb
   823                            code_buffer(),
   823                            code_buffer(),
   824                            frame_size_in_words(), _oop_map_set,
   824                            frame_size_in_words(), _oop_map_set,
   825                            &_handler_table, &_inc_table,
   825                            &_handler_table, &_inc_table,
   826                            compiler,
   826                            compiler,
   827                            env()->comp_level(),
   827                            env()->comp_level(),
   828                            has_unsafe_access()
   828                            has_unsafe_access(),
       
   829                            SharedRuntime::is_wide_vector(max_vector_size())
   829                            );
   830                            );
   830   }
   831   }
   831 }
   832 }
   832 
   833 
   833 //------------------------------Compile----------------------------------------
   834 //------------------------------Compile----------------------------------------
   961   set_has_loops(has_method() && method()->has_loops()); // first approximation
   962   set_has_loops(has_method() && method()->has_loops()); // first approximation
   962   set_has_stringbuilder(false);
   963   set_has_stringbuilder(false);
   963   _trap_can_recompile = false;  // no traps emitted yet
   964   _trap_can_recompile = false;  // no traps emitted yet
   964   _major_progress = true; // start out assuming good things will happen
   965   _major_progress = true; // start out assuming good things will happen
   965   set_has_unsafe_access(false);
   966   set_has_unsafe_access(false);
       
   967   set_max_vector_size(0);
   966   Copy::zero_to_bytes(_trap_hist, sizeof(_trap_hist));
   968   Copy::zero_to_bytes(_trap_hist, sizeof(_trap_hist));
   967   set_decompile_count(0);
   969   set_decompile_count(0);
   968 
   970 
   969   set_do_freq_based_layout(BlockLayoutByFrequency || method_has_option("BlockLayoutByFrequency"));
   971   set_do_freq_based_layout(BlockLayoutByFrequency || method_has_option("BlockLayoutByFrequency"));
   970   set_num_loop_opts(LoopOptsCount);
   972   set_num_loop_opts(LoopOptsCount);