mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
This commit is contained in:
parent
1cf5b7ae11
commit
e261aecad8
74 changed files with 979 additions and 279 deletions
|
@ -702,11 +702,14 @@ static void findref(intptr_t x) {
|
|||
tty->print_cr("Searching strong roots:");
|
||||
Universe::oops_do(&lookFor, false);
|
||||
JNIHandles::oops_do(&lookFor); // Global (strong) JNI handles
|
||||
Threads::oops_do(&lookFor);
|
||||
Threads::oops_do(&lookFor, NULL);
|
||||
ObjectSynchronizer::oops_do(&lookFor);
|
||||
//FlatProfiler::oops_do(&lookFor);
|
||||
SystemDictionary::oops_do(&lookFor);
|
||||
|
||||
tty->print_cr("Searching code cache:");
|
||||
CodeCache::oops_do(&lookFor);
|
||||
|
||||
tty->print_cr("Done.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue