662 #ifndef PRODUCT
663 _trace_opto_output(TraceOptoOutput || method()->has_option("TraceOptoOutput")),
664 _in_dump_cnt(0),
665 _printer(IdealGraphPrinter::printer()),
666 #endif
667 _congraph(NULL),
668 _comp_arena(mtCompiler),
669 _node_arena(mtCompiler),
670 _old_arena(mtCompiler),
671 _Compile_types(mtCompiler),
672 _replay_inline_data(NULL),
673 _late_inlines(comp_arena(), 2, 0, NULL),
674 _string_late_inlines(comp_arena(), 2, 0, NULL),
675 _boxing_late_inlines(comp_arena(), 2, 0, NULL),
676 _late_inlines_pos(0),
677 _number_of_mh_late_inlines(0),
678 _inlining_progress(false),
679 _inlining_incrementally(false),
680 _print_inlining_list(NULL),
681 _print_inlining_idx(0),
682 _interpreter_frame_size(0) {
683 C = this;
684
685 CompileWrapper cw(this);
686 #ifndef PRODUCT
687 if (TimeCompiler2) {
688 tty->print(" ");
689 target->holder()->name()->print();
690 tty->print(".");
691 target->print_short_name();
692 tty->print(" ");
693 }
694 TraceTime t1("Total compilation time", &_t_totalCompilation, TimeCompiler, TimeCompiler2);
695 TraceTime t2(NULL, &_t_methodCompilation, TimeCompiler, false);
696 bool print_opto_assembly = PrintOptoAssembly || _method->has_option("PrintOptoAssembly");
697 if (!print_opto_assembly) {
698 bool print_assembly = (PrintAssembly || _method->should_print_assembly());
699 if (print_assembly && !Disassembler::can_decode()) {
700 tty->print_cr("PrintAssembly request changed to PrintOptoAssembly");
701 print_opto_assembly = true;
702 }
973 _inner_loops(0),
974 #ifndef PRODUCT
975 _trace_opto_output(TraceOptoOutput),
976 _in_dump_cnt(0),
977 _printer(NULL),
978 #endif
979 _comp_arena(mtCompiler),
980 _node_arena(mtCompiler),
981 _old_arena(mtCompiler),
982 _Compile_types(mtCompiler),
983 _dead_node_list(comp_arena()),
984 _dead_node_count(0),
985 _congraph(NULL),
986 _replay_inline_data(NULL),
987 _number_of_mh_late_inlines(0),
988 _inlining_progress(false),
989 _inlining_incrementally(false),
990 _print_inlining_list(NULL),
991 _print_inlining_idx(0),
992 _allowed_reasons(0),
993 _interpreter_frame_size(0) {
994 C = this;
995
996 #ifndef PRODUCT
997 TraceTime t1(NULL, &_t_totalCompilation, TimeCompiler, false);
998 TraceTime t2(NULL, &_t_stubCompilation, TimeCompiler, false);
999 set_print_assembly(PrintFrameConverterAssembly);
1000 set_parsed_irreducible_loop(false);
1001 #endif
1002 set_has_irreducible_loop(false); // no loops
1003
1004 CompileWrapper cw(this);
1005 Init(/*AliasLevel=*/ 0);
1006 init_tf((*generator)());
1007
1008 {
1009 // The following is a dummy for the sake of GraphKit::gen_stub
1010 Unique_Node_List for_igvn(comp_arena());
1011 set_for_igvn(&for_igvn); // not used, but some GraphKit guys push on this
1012 PhaseGVN gvn(Thread::current()->resource_area(),255);
1013 set_initial_gvn(&gvn); // not significant, but GraphKit guys use it pervasively
|
662 #ifndef PRODUCT
663 _trace_opto_output(TraceOptoOutput || method()->has_option("TraceOptoOutput")),
664 _in_dump_cnt(0),
665 _printer(IdealGraphPrinter::printer()),
666 #endif
667 _congraph(NULL),
668 _comp_arena(mtCompiler),
669 _node_arena(mtCompiler),
670 _old_arena(mtCompiler),
671 _Compile_types(mtCompiler),
672 _replay_inline_data(NULL),
673 _late_inlines(comp_arena(), 2, 0, NULL),
674 _string_late_inlines(comp_arena(), 2, 0, NULL),
675 _boxing_late_inlines(comp_arena(), 2, 0, NULL),
676 _late_inlines_pos(0),
677 _number_of_mh_late_inlines(0),
678 _inlining_progress(false),
679 _inlining_incrementally(false),
680 _print_inlining_list(NULL),
681 _print_inlining_idx(0),
682 _interpreter_frame_size(0),
683 _max_node_limit(MaxNodeLimit) {
684 C = this;
685
686 CompileWrapper cw(this);
687 #ifndef PRODUCT
688 if (TimeCompiler2) {
689 tty->print(" ");
690 target->holder()->name()->print();
691 tty->print(".");
692 target->print_short_name();
693 tty->print(" ");
694 }
695 TraceTime t1("Total compilation time", &_t_totalCompilation, TimeCompiler, TimeCompiler2);
696 TraceTime t2(NULL, &_t_methodCompilation, TimeCompiler, false);
697 bool print_opto_assembly = PrintOptoAssembly || _method->has_option("PrintOptoAssembly");
698 if (!print_opto_assembly) {
699 bool print_assembly = (PrintAssembly || _method->should_print_assembly());
700 if (print_assembly && !Disassembler::can_decode()) {
701 tty->print_cr("PrintAssembly request changed to PrintOptoAssembly");
702 print_opto_assembly = true;
703 }
974 _inner_loops(0),
975 #ifndef PRODUCT
976 _trace_opto_output(TraceOptoOutput),
977 _in_dump_cnt(0),
978 _printer(NULL),
979 #endif
980 _comp_arena(mtCompiler),
981 _node_arena(mtCompiler),
982 _old_arena(mtCompiler),
983 _Compile_types(mtCompiler),
984 _dead_node_list(comp_arena()),
985 _dead_node_count(0),
986 _congraph(NULL),
987 _replay_inline_data(NULL),
988 _number_of_mh_late_inlines(0),
989 _inlining_progress(false),
990 _inlining_incrementally(false),
991 _print_inlining_list(NULL),
992 _print_inlining_idx(0),
993 _allowed_reasons(0),
994 _interpreter_frame_size(0),
995 _max_node_limit(MaxNodeLimit) {
996 C = this;
997
998 #ifndef PRODUCT
999 TraceTime t1(NULL, &_t_totalCompilation, TimeCompiler, false);
1000 TraceTime t2(NULL, &_t_stubCompilation, TimeCompiler, false);
1001 set_print_assembly(PrintFrameConverterAssembly);
1002 set_parsed_irreducible_loop(false);
1003 #endif
1004 set_has_irreducible_loop(false); // no loops
1005
1006 CompileWrapper cw(this);
1007 Init(/*AliasLevel=*/ 0);
1008 init_tf((*generator)());
1009
1010 {
1011 // The following is a dummy for the sake of GraphKit::gen_stub
1012 Unique_Node_List for_igvn(comp_arena());
1013 set_for_igvn(&for_igvn); // not used, but some GraphKit guys push on this
1014 PhaseGVN gvn(Thread::current()->resource_area(),255);
1015 set_initial_gvn(&gvn); // not significant, but GraphKit guys use it pervasively
|