< prev index next >

src/hotspot/share/opto/compile.cpp

Print this page

 887   _node_note_array = NULL;
 888   _default_node_notes = NULL;
 889   DEBUG_ONLY( _modified_nodes = NULL; ) // Used in Optimize()
 890 
 891   _immutable_memory = NULL; // filled in at first inquiry
 892 
 893   // Globally visible Nodes
 894   // First set TOP to NULL to give safe behavior during creation of RootNode
 895   set_cached_top_node(NULL);
 896   set_root(new RootNode());
 897   // Now that you have a Root to point to, create the real TOP
 898   set_cached_top_node( new ConNode(Type::TOP) );
 899   set_recent_alloc(NULL, NULL);
 900 
 901   // Create Debug Information Recorder to record scopes, oopmaps, etc.
 902   env()->set_oop_recorder(new OopRecorder(env()->arena()));
 903   env()->set_debug_info(new DebugInformationRecorder(env()->oop_recorder()));
 904   env()->set_dependencies(new Dependencies(env()));
 905 
 906   _fixed_slots = 0;


 907   set_has_split_ifs(false);
 908   set_has_loops(has_method() && method()->has_loops()); // first approximation
 909   set_has_stringbuilder(false);
 910   set_has_boxed_value(false);
 911   _trap_can_recompile = false;  // no traps emitted yet
 912   _major_progress = true; // start out assuming good things will happen
 913   set_has_unsafe_access(false);
 914   set_max_vector_size(0);
 915   set_clear_upper_avx(false);  //false as default for clear upper bits of ymm registers
 916   Copy::zero_to_bytes(_trap_hist, sizeof(_trap_hist));
 917   set_decompile_count(0);
 918 
 919   set_do_freq_based_layout(_directive->BlockLayoutByFrequencyOption);
 920   _loop_opts_cnt = LoopOptsCount;
 921   set_do_inlining(Inline);
 922   set_max_inline_size(MaxInlineSize);
 923   set_freq_inline_size(FreqInlineSize);
 924   set_do_scheduling(OptoScheduling);
 925   set_do_count_invocations(false);
 926   set_do_method_data_update(false);

 887   _node_note_array = NULL;
 888   _default_node_notes = NULL;
 889   DEBUG_ONLY( _modified_nodes = NULL; ) // Used in Optimize()
 890 
 891   _immutable_memory = NULL; // filled in at first inquiry
 892 
 893   // Globally visible Nodes
 894   // First set TOP to NULL to give safe behavior during creation of RootNode
 895   set_cached_top_node(NULL);
 896   set_root(new RootNode());
 897   // Now that you have a Root to point to, create the real TOP
 898   set_cached_top_node( new ConNode(Type::TOP) );
 899   set_recent_alloc(NULL, NULL);
 900 
 901   // Create Debug Information Recorder to record scopes, oopmaps, etc.
 902   env()->set_oop_recorder(new OopRecorder(env()->arena()));
 903   env()->set_debug_info(new DebugInformationRecorder(env()->oop_recorder()));
 904   env()->set_dependencies(new Dependencies(env()));
 905 
 906   _fixed_slots = 0;
 907   _stack_allocated_slots = 0;
 908   set_fail_stack_allocation_with_references(false);
 909   set_has_split_ifs(false);
 910   set_has_loops(has_method() && method()->has_loops()); // first approximation
 911   set_has_stringbuilder(false);
 912   set_has_boxed_value(false);
 913   _trap_can_recompile = false;  // no traps emitted yet
 914   _major_progress = true; // start out assuming good things will happen
 915   set_has_unsafe_access(false);
 916   set_max_vector_size(0);
 917   set_clear_upper_avx(false);  //false as default for clear upper bits of ymm registers
 918   Copy::zero_to_bytes(_trap_hist, sizeof(_trap_hist));
 919   set_decompile_count(0);
 920 
 921   set_do_freq_based_layout(_directive->BlockLayoutByFrequencyOption);
 922   _loop_opts_cnt = LoopOptsCount;
 923   set_do_inlining(Inline);
 924   set_max_inline_size(MaxInlineSize);
 925   set_freq_inline_size(FreqInlineSize);
 926   set_do_scheduling(OptoScheduling);
 927   set_do_count_invocations(false);
 928   set_do_method_data_update(false);
< prev index next >