Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/debug.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 | 275a3b7ff0d6 |
children | f03d0a26bf83 |
comparison
equal
deleted
inserted
replaced
987:00977607da34 | 989:148e5441d916 |
---|---|
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 { |