8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code

Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
This commit is contained in:
Coleen Phillimore 2014-07-17 15:45:46 -04:00
parent 79eab12bba
commit 3f0a945468
40 changed files with 132 additions and 336 deletions

View file

@ -296,9 +296,9 @@ void vframeArrayElement::unpack_on_stack(int caller_actual_parameters,
src->lock()->move_to(src->obj(), top->lock());
}
if (ProfileInterpreter) {
iframe()->interpreter_frame_set_mdx(0); // clear out the mdp.
iframe()->interpreter_frame_set_mdp(0); // clear out the mdp.
}
iframe()->interpreter_frame_set_bcx((intptr_t)bcp); // cannot use bcp because frame is not initialized yet
iframe()->interpreter_frame_set_bcp(bcp);
if (ProfileInterpreter) {
MethodData* mdo = method()->method_data();
if (mdo != NULL) {