equal
deleted
inserted
replaced
849 active_handles()->oops_do(f); |
849 active_handles()->oops_do(f); |
850 // Do oop for ThreadShadow |
850 // Do oop for ThreadShadow |
851 f->do_oop((oop*)&_pending_exception); |
851 f->do_oop((oop*)&_pending_exception); |
852 handle_area()->oops_do(f); |
852 handle_area()->oops_do(f); |
853 |
853 |
854 if (MonitorInUseLists) { |
854 // We scan thread local monitor lists here, and the remaining global |
855 // When using thread local monitor lists, we scan them here, |
855 // monitors in ObjectSynchronizer::oops_do(). |
856 // and the remaining global monitors in ObjectSynchronizer::oops_do(). |
856 ObjectSynchronizer::thread_local_used_oops_do(this, f); |
857 ObjectSynchronizer::thread_local_used_oops_do(this, f); |
|
858 } |
|
859 } |
857 } |
860 |
858 |
861 void Thread::metadata_handles_do(void f(Metadata*)) { |
859 void Thread::metadata_handles_do(void f(Metadata*)) { |
862 // Only walk the Handles in Thread. |
860 // Only walk the Handles in Thread. |
863 if (metadata_handles() != NULL) { |
861 if (metadata_handles() != NULL) { |