mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
This commit is contained in:
parent
1cf5b7ae11
commit
e261aecad8
74 changed files with 979 additions and 279 deletions
|
@ -619,8 +619,8 @@ void VMThread::execute(VM_Operation* op) {
|
|||
}
|
||||
|
||||
|
||||
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 @@ void VMOperationQueue::verify_queue(int prio) {
|
|||
#endif
|
||||
|
||||
void VMThread::verify() {
|
||||
oops_do(&VerifyOopClosure::verify_oop);
|
||||
oops_do(&VerifyOopClosure::verify_oop, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue