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

@ -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();