mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +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
|
@ -2647,20 +2647,6 @@ void JavaThread::deoptimized_wrt_marked_nmethods() {
|
|||
}
|
||||
|
||||
|
||||
// GC support
|
||||
static void frame_gc_epilogue(frame* f, const RegisterMap* map) { f->gc_epilogue(); }
|
||||
|
||||
void JavaThread::gc_epilogue() {
|
||||
frames_do(frame_gc_epilogue);
|
||||
}
|
||||
|
||||
|
||||
static void frame_gc_prologue(frame* f, const RegisterMap* map) { f->gc_prologue(); }
|
||||
|
||||
void JavaThread::gc_prologue() {
|
||||
frames_do(frame_gc_prologue);
|
||||
}
|
||||
|
||||
// If the caller is a NamedThread, then remember, in the current scope,
|
||||
// the given JavaThread in its _processed_thread field.
|
||||
class RememberProcessedThread: public StackObj {
|
||||
|
@ -4149,18 +4135,6 @@ void Threads::metadata_do(void f(Metadata*)) {
|
|||
}
|
||||
}
|
||||
|
||||
void Threads::gc_epilogue() {
|
||||
ALL_JAVA_THREADS(p) {
|
||||
p->gc_epilogue();
|
||||
}
|
||||
}
|
||||
|
||||
void Threads::gc_prologue() {
|
||||
ALL_JAVA_THREADS(p) {
|
||||
p->gc_prologue();
|
||||
}
|
||||
}
|
||||
|
||||
void Threads::deoptimized_wrt_marked_nmethods() {
|
||||
ALL_JAVA_THREADS(p) {
|
||||
p->deoptimized_wrt_marked_nmethods();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue