JDK-8064876 : Remove all remnants of PermGen in CardTableRS
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-11-14
  • Updated: 2019-12-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
CardTableRS (in cardTableRS.hpp/cpp) still contains code referring to PermGen and this code also complicates further cleanups of the card tables. Examples include (from cardTableRS.hpp):

    // These are for parallel collection.
    // There are three P (parallel) youngergen card values.  In general, this
    // needs to be more than the number of generations (including the perm
    // gen) that might have younger_refs_do invoked on them separately.  So
    // if we add more gens, we have to add more values.

...

  // An array that contains, for each generation, the card table value last
  // used as the current value for a younger_refs_do iteration of that
  // portion of the table.  (The perm gen is index 0; other gens are at
  // their level plus 1.  They youngest gen is in the table, but will
  // always have the value "clean_card".)
Comments
Another place to look for cleanups is around CardTableRS::_regions_to_iterate.
14-11-2014

For more some more background and details, see the email thread starting at http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2014-November/011279.html
14-11-2014