700 ch->object_iterate(&look_in_object); |
700 ch->object_iterate(&look_in_object); |
701 |
701 |
702 tty->print_cr("Searching strong roots:"); |
702 tty->print_cr("Searching strong roots:"); |
703 Universe::oops_do(&lookFor, false); |
703 Universe::oops_do(&lookFor, false); |
704 JNIHandles::oops_do(&lookFor); // Global (strong) JNI handles |
704 JNIHandles::oops_do(&lookFor); // Global (strong) JNI handles |
705 Threads::oops_do(&lookFor); |
705 Threads::oops_do(&lookFor, NULL); |
706 ObjectSynchronizer::oops_do(&lookFor); |
706 ObjectSynchronizer::oops_do(&lookFor); |
707 //FlatProfiler::oops_do(&lookFor); |
707 //FlatProfiler::oops_do(&lookFor); |
708 SystemDictionary::oops_do(&lookFor); |
708 SystemDictionary::oops_do(&lookFor); |
|
709 |
|
710 tty->print_cr("Searching code cache:"); |
|
711 CodeCache::oops_do(&lookFor); |
709 |
712 |
710 tty->print_cr("Done."); |
713 tty->print_cr("Done."); |
711 } |
714 } |
712 |
715 |
713 class FindClassObjectClosure: public ObjectClosure { |
716 class FindClassObjectClosure: public ObjectClosure { |