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

@ -1639,9 +1639,9 @@ void java_lang_Throwable::fill_in_stack_trace(Handle throwable, methodHandle met
if (fr.is_first_frame()) break;
address pc = fr.pc();
if (fr.is_interpreted_frame()) {
intptr_t bcx = fr.interpreter_frame_bcx();
address bcp = fr.interpreter_frame_bcp();
method = fr.interpreter_frame_method();
bci = fr.is_bci(bcx) ? bcx : method->bci_from((address)bcx);
bci = method->bci_from(bcp);
fr = fr.sender(&map);
} else {
CodeBlob* cb = fr.cb();