533 InstanceKlass* ik = method->method_holder();
534 ik->initialize(THREAD);
535 if (HAS_PENDING_EXCEPTION) {
536 oop throwable = PENDING_EXCEPTION;
537 java_lang_Throwable::print(throwable, tty);
538 tty->cr();
539 if (ReplayIgnoreInitErrors) {
540 CLEAR_PENDING_EXCEPTION;
541 ik->set_init_state(InstanceKlass::fully_initialized);
542 } else {
543 return;
544 }
545 }
546 // Make sure the existence of a prior compile doesn't stop this one
547 nmethod* nm = (entry_bci != InvocationEntryBci) ? method->lookup_osr_nmethod_for(entry_bci, comp_level, true) : method->code();
548 if (nm != NULL) {
549 nm->make_not_entrant();
550 }
551 replay_state = this;
552 CompileBroker::compile_method(method, entry_bci, comp_level,
553 methodHandle(), 0, "replay", THREAD);
554 replay_state = NULL;
555 reset();
556 }
557
558 // ciMethod <klass> <name> <signature> <invocation_counter> <backedge_counter> <interpreter_invocation_count> <interpreter_throwout_count> <instructions_size>
559 //
560 //
561 void process_ciMethod(TRAPS) {
562 Method* method = parse_method(CHECK);
563 if (had_error()) return;
564 ciMethodRecord* rec = new_ciMethod(method);
565 rec->_invocation_counter = parse_int("invocation_counter");
566 rec->_backedge_counter = parse_int("backedge_counter");
567 rec->_interpreter_invocation_count = parse_int("interpreter_invocation_count");
568 rec->_interpreter_throwout_count = parse_int("interpreter_throwout_count");
569 rec->_instructions_size = parse_int("instructions_size");
570 }
571
572 // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length>
573 void process_ciMethodData(TRAPS) {
|
533 InstanceKlass* ik = method->method_holder();
534 ik->initialize(THREAD);
535 if (HAS_PENDING_EXCEPTION) {
536 oop throwable = PENDING_EXCEPTION;
537 java_lang_Throwable::print(throwable, tty);
538 tty->cr();
539 if (ReplayIgnoreInitErrors) {
540 CLEAR_PENDING_EXCEPTION;
541 ik->set_init_state(InstanceKlass::fully_initialized);
542 } else {
543 return;
544 }
545 }
546 // Make sure the existence of a prior compile doesn't stop this one
547 nmethod* nm = (entry_bci != InvocationEntryBci) ? method->lookup_osr_nmethod_for(entry_bci, comp_level, true) : method->code();
548 if (nm != NULL) {
549 nm->make_not_entrant();
550 }
551 replay_state = this;
552 CompileBroker::compile_method(method, entry_bci, comp_level,
553 methodHandle(), 0, "replay", false, THREAD);
554 replay_state = NULL;
555 reset();
556 }
557
558 // ciMethod <klass> <name> <signature> <invocation_counter> <backedge_counter> <interpreter_invocation_count> <interpreter_throwout_count> <instructions_size>
559 //
560 //
561 void process_ciMethod(TRAPS) {
562 Method* method = parse_method(CHECK);
563 if (had_error()) return;
564 ciMethodRecord* rec = new_ciMethod(method);
565 rec->_invocation_counter = parse_int("invocation_counter");
566 rec->_backedge_counter = parse_int("backedge_counter");
567 rec->_interpreter_invocation_count = parse_int("interpreter_invocation_count");
568 rec->_interpreter_throwout_count = parse_int("interpreter_throwout_count");
569 rec->_instructions_size = parse_int("instructions_size");
570 }
571
572 // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length>
573 void process_ciMethodData(TRAPS) {
|