< prev index next >

src/hotspot/share/opto/output.cpp

Print this page

3380     if (C->is_osr_compilation()) {
3381       _code_offsets.set_value(CodeOffsets::Verified_Entry, 0);
3382       _code_offsets.set_value(CodeOffsets::OSR_Entry, _first_block_size);
3383     } else {
3384       _code_offsets.set_value(CodeOffsets::Verified_Entry, _first_block_size);
3385       _code_offsets.set_value(CodeOffsets::OSR_Entry, 0);
3386     }
3387 
3388     C->env()->register_method(target,
3389                                      entry_bci,
3390                                      &_code_offsets,
3391                                      _orig_pc_slot_offset_in_bytes,
3392                                      code_buffer(),
3393                                      frame_size_in_words(),
3394                                      oop_map_set(),
3395                                      &_handler_table,
3396                                      inc_table(),
3397                                      compiler,
3398                                      has_unsafe_access,
3399                                      SharedRuntime::is_wide_vector(C->max_vector_size()),


3400                                      C->rtm_state(),
3401                                      C->native_invokers());
3402 
3403     if (C->log() != NULL) { // Print code cache state into compiler log
3404       C->log()->code_cache_state();
3405     }
3406   }
3407 }
3408 void PhaseOutput::install_stub(const char* stub_name) {
3409   // Entry point will be accessed using stub_entry_point();
3410   if (code_buffer() == NULL) {
3411     Matcher::soft_match_failure();
3412   } else {
3413     if (PrintAssembly && (WizardMode || Verbose))
3414       tty->print_cr("### Stub::%s", stub_name);
3415 
3416     if (!C->failing()) {
3417       assert(C->fixed_slots() == 0, "no fixed slots used for runtime stubs");
3418 
3419       // Make the NMethod

3380     if (C->is_osr_compilation()) {
3381       _code_offsets.set_value(CodeOffsets::Verified_Entry, 0);
3382       _code_offsets.set_value(CodeOffsets::OSR_Entry, _first_block_size);
3383     } else {
3384       _code_offsets.set_value(CodeOffsets::Verified_Entry, _first_block_size);
3385       _code_offsets.set_value(CodeOffsets::OSR_Entry, 0);
3386     }
3387 
3388     C->env()->register_method(target,
3389                                      entry_bci,
3390                                      &_code_offsets,
3391                                      _orig_pc_slot_offset_in_bytes,
3392                                      code_buffer(),
3393                                      frame_size_in_words(),
3394                                      oop_map_set(),
3395                                      &_handler_table,
3396                                      inc_table(),
3397                                      compiler,
3398                                      has_unsafe_access,
3399                                      SharedRuntime::is_wide_vector(C->max_vector_size()),
3400                                      C->has_monitors(),
3401                                      0,
3402                                      C->rtm_state(),
3403                                      C->native_invokers());
3404 
3405     if (C->log() != NULL) { // Print code cache state into compiler log
3406       C->log()->code_cache_state();
3407     }
3408   }
3409 }
3410 void PhaseOutput::install_stub(const char* stub_name) {
3411   // Entry point will be accessed using stub_entry_point();
3412   if (code_buffer() == NULL) {
3413     Matcher::soft_match_failure();
3414   } else {
3415     if (PrintAssembly && (WizardMode || Verbose))
3416       tty->print_cr("### Stub::%s", stub_name);
3417 
3418     if (!C->failing()) {
3419       assert(C->fixed_slots() == 0, "no fixed slots used for runtime stubs");
3420 
3421       // Make the NMethod
< prev index next >