Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
987:00977607da34 | 989:148e5441d916 |
---|---|
617 _cur_vm_operation = prev_vm_operation; | 617 _cur_vm_operation = prev_vm_operation; |
618 } | 618 } |
619 } | 619 } |
620 | 620 |
621 | 621 |
622 void VMThread::oops_do(OopClosure* f) { | 622 void VMThread::oops_do(OopClosure* f, CodeBlobClosure* cf) { |
623 Thread::oops_do(f); | 623 Thread::oops_do(f, cf); |
624 _vm_queue->oops_do(f); | 624 _vm_queue->oops_do(f); |
625 } | 625 } |
626 | 626 |
627 //------------------------------------------------------------------------------------------------------------------ | 627 //------------------------------------------------------------------------------------------------------------------ |
628 #ifndef PRODUCT | 628 #ifndef PRODUCT |
650 } | 650 } |
651 | 651 |
652 #endif | 652 #endif |
653 | 653 |
654 void VMThread::verify() { | 654 void VMThread::verify() { |
655 oops_do(&VerifyOopClosure::verify_oop); | 655 oops_do(&VerifyOopClosure::verify_oop, NULL); |
656 } | 656 } |