Duplicate :
|
For permgen removal, the oops relocations need to be partitioned into metadata vs oops. Save classloaders in the oops section to prevent classes in metadata section from being unloaded if they are present in nmethod relocations if we still need to walk metadata to keep classes alive. I've captured details of the discussion in comments section.