Lines Matching defs:jvms

182   int max_locals = jvms()->loc_size();
183 int max_stack = jvms()->stk_size();
186 // Mismatch between method and jvms can occur since map briefly held
190 assert((int)jvms()->endoff() == TypeFunc::Parms + max_locals + max_stack, "sanity");
191 assert((int)jvms()->endoff() == (int)map()->req(), "sanity");
216 assert(jvms()->monitor_depth() == 0, "should be no active locks at beginning of osr");
575 assert(jvms()->endoff() == map()->req(), "map matches JVMS layout");
756 JVMState* jvms = new (this) JVMState(max_size - TypeFunc::Parms);
763 JVMState* entry_jvms = new(this) JVMState(method(), old_nn->jvms());
779 assert(jvms->argoff() == TypeFunc::Parms, "parser gets arguments here");
781 map->set_jvms(jvms);
782 jvms->set_map(map);
783 return jvms;
790 JVMState* caller_jvms = nn->jvms();
791 JVMState* jvms = new (C) JVMState(method(), caller_jvms);
792 jvms->set_offsets(0);
793 jvms->set_bci(_entry_bci);
794 nn->set_jvms(jvms);
800 void Compile::return_values(JVMState* jvms) {
801 GraphKit kit(jvms);
824 void Compile::rethrow_exceptions(JVMState* jvms) {
825 GraphKit kit(jvms);
960 JVMState* caller = kit.jvms();
977 assert(ex_jvms->same_calls_as(ex_map->jvms()), "sanity");
980 ex_map->jvms()->set_map(ex_map);
1023 JVMState* jvms = new (C) JVMState(method(), _caller->has_method() ? _caller : NULL);
1024 set_map(new (C) SafePointNode(len, jvms));
1025 jvms->set_map(map());
1027 assert(jvms->endoff() == len, "correct jvms sizing");
1437 JVMState* jvms = nn->jvms();
1438 if (jvms != NULL && jvms->bci() != bci) {
1440 jvms = jvms->clone_shallow(C);
1441 jvms->set_bci(bci);
1442 nn->set_jvms(jvms);
1561 assert(newin->jvms()->locoff() == jvms()->locoff(), "JVMS layouts agree");
1562 assert(newin->jvms()->stkoff() == jvms()->stkoff(), "JVMS layouts agree");
1563 assert(newin->jvms()->monoff() == jvms()->monoff(), "JVMS layouts agree");
1564 assert(newin->jvms()->endoff() == jvms()->endoff(), "JVMS layouts agree");
1587 assert(TypeFunc::Parms == newin->jvms()->locoff(), "parser map should contain only youngest jvms");
1609 const JVMState* jvms = map()->jvms();
1611 jvms->is_mon(j) && jvms->is_monitor_box(j)) {
1614 assert(newin->jvms()->is_monitor_box(j), "sanity");
1750 uint monoff = map()->jvms()->monoff();
1751 uint nof_monitors = map()->jvms()->nof_monitors();
1753 assert(TypeFunc::Parms == map()->jvms()->locoff(), "parser map should contain only youngest jvms");
1766 ensure_phi(map()->jvms()->monitor_obj_offset(m));
1826 const JVMState* jvms = map->jvms();
1828 if (jvms->is_loc(idx)) {
1829 t = block()->local_type_at(idx - jvms->locoff());
1830 } else if (jvms->is_stk(idx)) {
1831 t = block()->stack_type_at(idx - jvms->stkoff());
1832 } else if (jvms->is_mon(idx)) {
1833 assert(!jvms->is_monitor_box(idx), "no phis for boxes");