mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +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
|
@ -555,12 +555,14 @@ void DefNewGeneration::collect(bool full,
|
|||
"save marks have not been newly set.");
|
||||
|
||||
gch->gen_process_strong_roots(_level,
|
||||
true, // Process younger gens, if any, as
|
||||
// strong roots.
|
||||
false,// not collecting permanent generation.
|
||||
true, // Process younger gens, if any,
|
||||
// as strong roots.
|
||||
true, // activate StrongRootsScope
|
||||
false, // not collecting perm generation.
|
||||
SharedHeap::SO_AllClasses,
|
||||
&fsc_with_gc_barrier,
|
||||
&fsc_with_no_gc_barrier);
|
||||
&fsc_with_no_gc_barrier,
|
||||
true, // walk *all* scavengable nmethods
|
||||
&fsc_with_gc_barrier);
|
||||
|
||||
// "evacuate followers".
|
||||
evacuate_followers.do_void();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue