770 virtual void reset_after_compaction(); |
770 virtual void reset_after_compaction(); |
771 |
771 |
772 // Routines for managing a list of code roots (attached to the |
772 // Routines for managing a list of code roots (attached to the |
773 // this region's RSet) that point into this heap region. |
773 // this region's RSet) that point into this heap region. |
774 void add_strong_code_root(nmethod* nm); |
774 void add_strong_code_root(nmethod* nm); |
|
775 void add_strong_code_root_locked(nmethod* nm); |
775 void remove_strong_code_root(nmethod* nm); |
776 void remove_strong_code_root(nmethod* nm); |
776 |
|
777 // During a collection, migrate the successfully evacuated |
|
778 // strong code roots that referenced into this region to the |
|
779 // new regions that they now point into. Unsuccessfully |
|
780 // evacuated code roots are not migrated. |
|
781 void migrate_strong_code_roots(); |
|
782 |
777 |
783 // Applies blk->do_code_blob() to each of the entries in |
778 // Applies blk->do_code_blob() to each of the entries in |
784 // the strong code roots list for this region |
779 // the strong code roots list for this region |
785 void strong_code_roots_do(CodeBlobClosure* blk) const; |
780 void strong_code_roots_do(CodeBlobClosure* blk) const; |
786 |
781 |