Mercurial > hg > graal-compiler
diff src/share/vm/runtime/vmThread.cpp @ 989:148e5441d916
6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
author | jrose |
---|---|
date | Tue, 15 Sep 2009 21:53:47 -0700 |
parents | bd02caa94611 |
children | 547f81740344 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vmThread.cpp Tue Sep 15 11:09:34 2009 -0700 +++ b/src/share/vm/runtime/vmThread.cpp Tue Sep 15 21:53:47 2009 -0700 @@ -619,8 +619,8 @@ } -void VMThread::oops_do(OopClosure* f) { - Thread::oops_do(f); +void VMThread::oops_do(OopClosure* f, CodeBlobClosure* cf) { + Thread::oops_do(f, cf); _vm_queue->oops_do(f); } @@ -652,5 +652,5 @@ #endif void VMThread::verify() { - oops_do(&VerifyOopClosure::verify_oop); + oops_do(&VerifyOopClosure::verify_oop, NULL); }