mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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:
parent
79eab12bba
commit
3f0a945468
40 changed files with 132 additions and 336 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue