src/share/vm/opto/compile.cpp

Print this page
rev 5726 : 8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object.
Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly.


 630                   _warm_calls(NULL),
 631                   _subsume_loads(subsume_loads),
 632                   _do_escape_analysis(do_escape_analysis),
 633                   _eliminate_boxing(eliminate_boxing),
 634                   _failure_reason(NULL),
 635                   _code_buffer("Compile::Fill_buffer"),
 636                   _orig_pc_slot(0),
 637                   _orig_pc_slot_offset_in_bytes(0),
 638                   _has_method_handle_invokes(false),
 639                   _mach_constant_base_node(NULL),
 640                   _node_bundling_limit(0),
 641                   _node_bundling_base(NULL),
 642                   _java_calls(0),
 643                   _inner_loops(0),
 644                   _scratch_const_size(-1),
 645                   _in_scratch_emit_size(false),
 646                   _dead_node_list(comp_arena()),
 647                   _dead_node_count(0),
 648 #ifndef PRODUCT
 649                   _trace_opto_output(TraceOptoOutput || method()->has_option("TraceOptoOutput")),

 650                   _printer(IdealGraphPrinter::printer()),
 651 #endif
 652                   _congraph(NULL),
 653                   _late_inlines(comp_arena(), 2, 0, NULL),
 654                   _string_late_inlines(comp_arena(), 2, 0, NULL),
 655                   _boxing_late_inlines(comp_arena(), 2, 0, NULL),
 656                   _late_inlines_pos(0),
 657                   _number_of_mh_late_inlines(0),
 658                   _inlining_progress(false),
 659                   _inlining_incrementally(false),
 660                   _print_inlining_list(NULL),
 661                   _print_inlining_idx(0),
 662                   _preserve_jvm_state(0) {
 663   C = this;
 664 
 665   CompileWrapper cw(this);
 666 #ifndef PRODUCT
 667   if (TimeCompiler2) {
 668     tty->print(" ");
 669     target->holder()->name()->print();


 919     _stub_entry_point(NULL),
 920     _entry_bci(InvocationEntryBci),
 921     _initial_gvn(NULL),
 922     _for_igvn(NULL),
 923     _warm_calls(NULL),
 924     _orig_pc_slot(0),
 925     _orig_pc_slot_offset_in_bytes(0),
 926     _subsume_loads(true),
 927     _do_escape_analysis(false),
 928     _eliminate_boxing(false),
 929     _failure_reason(NULL),
 930     _code_buffer("Compile::Fill_buffer"),
 931     _has_method_handle_invokes(false),
 932     _mach_constant_base_node(NULL),
 933     _node_bundling_limit(0),
 934     _node_bundling_base(NULL),
 935     _java_calls(0),
 936     _inner_loops(0),
 937 #ifndef PRODUCT
 938     _trace_opto_output(TraceOptoOutput),

 939     _printer(NULL),
 940 #endif
 941     _dead_node_list(comp_arena()),
 942     _dead_node_count(0),
 943     _congraph(NULL),
 944     _number_of_mh_late_inlines(0),
 945     _inlining_progress(false),
 946     _inlining_incrementally(false),
 947     _print_inlining_list(NULL),
 948     _print_inlining_idx(0),
 949     _preserve_jvm_state(0) {
 950   C = this;
 951 
 952 #ifndef PRODUCT
 953   TraceTime t1(NULL, &_t_totalCompilation, TimeCompiler, false);
 954   TraceTime t2(NULL, &_t_stubCompilation, TimeCompiler, false);
 955   set_print_assembly(PrintFrameConverterAssembly);
 956   set_parsed_irreducible_loop(false);
 957 #endif
 958   CompileWrapper cw(this);




 630                   _warm_calls(NULL),
 631                   _subsume_loads(subsume_loads),
 632                   _do_escape_analysis(do_escape_analysis),
 633                   _eliminate_boxing(eliminate_boxing),
 634                   _failure_reason(NULL),
 635                   _code_buffer("Compile::Fill_buffer"),
 636                   _orig_pc_slot(0),
 637                   _orig_pc_slot_offset_in_bytes(0),
 638                   _has_method_handle_invokes(false),
 639                   _mach_constant_base_node(NULL),
 640                   _node_bundling_limit(0),
 641                   _node_bundling_base(NULL),
 642                   _java_calls(0),
 643                   _inner_loops(0),
 644                   _scratch_const_size(-1),
 645                   _in_scratch_emit_size(false),
 646                   _dead_node_list(comp_arena()),
 647                   _dead_node_count(0),
 648 #ifndef PRODUCT
 649                   _trace_opto_output(TraceOptoOutput || method()->has_option("TraceOptoOutput")),
 650                   _in_dump_cnt(0),
 651                   _printer(IdealGraphPrinter::printer()),
 652 #endif
 653                   _congraph(NULL),
 654                   _late_inlines(comp_arena(), 2, 0, NULL),
 655                   _string_late_inlines(comp_arena(), 2, 0, NULL),
 656                   _boxing_late_inlines(comp_arena(), 2, 0, NULL),
 657                   _late_inlines_pos(0),
 658                   _number_of_mh_late_inlines(0),
 659                   _inlining_progress(false),
 660                   _inlining_incrementally(false),
 661                   _print_inlining_list(NULL),
 662                   _print_inlining_idx(0),
 663                   _preserve_jvm_state(0) {
 664   C = this;
 665 
 666   CompileWrapper cw(this);
 667 #ifndef PRODUCT
 668   if (TimeCompiler2) {
 669     tty->print(" ");
 670     target->holder()->name()->print();


 920     _stub_entry_point(NULL),
 921     _entry_bci(InvocationEntryBci),
 922     _initial_gvn(NULL),
 923     _for_igvn(NULL),
 924     _warm_calls(NULL),
 925     _orig_pc_slot(0),
 926     _orig_pc_slot_offset_in_bytes(0),
 927     _subsume_loads(true),
 928     _do_escape_analysis(false),
 929     _eliminate_boxing(false),
 930     _failure_reason(NULL),
 931     _code_buffer("Compile::Fill_buffer"),
 932     _has_method_handle_invokes(false),
 933     _mach_constant_base_node(NULL),
 934     _node_bundling_limit(0),
 935     _node_bundling_base(NULL),
 936     _java_calls(0),
 937     _inner_loops(0),
 938 #ifndef PRODUCT
 939     _trace_opto_output(TraceOptoOutput),
 940     _in_dump_cnt(0),
 941     _printer(NULL),
 942 #endif
 943     _dead_node_list(comp_arena()),
 944     _dead_node_count(0),
 945     _congraph(NULL),
 946     _number_of_mh_late_inlines(0),
 947     _inlining_progress(false),
 948     _inlining_incrementally(false),
 949     _print_inlining_list(NULL),
 950     _print_inlining_idx(0),
 951     _preserve_jvm_state(0) {
 952   C = this;
 953 
 954 #ifndef PRODUCT
 955   TraceTime t1(NULL, &_t_totalCompilation, TimeCompiler, false);
 956   TraceTime t2(NULL, &_t_stubCompilation, TimeCompiler, false);
 957   set_print_assembly(PrintFrameConverterAssembly);
 958   set_parsed_irreducible_loop(false);
 959 #endif
 960   CompileWrapper cw(this);