Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6407954

CMS: cleanup: better encapsulation of init/destroy of ancillary data in CMSCollector c'tor

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Introduced In Build:
      5.0
    • Introduced In Version:
      5.0
    • CPU:
      generic
    • OS:
      generic

      Description

      The CMSCollector constructor has grown quite large and somewhat unweildy.
      Part of the reason is that ancillary data structures needed by the
      CMS collector are constructed in-line and failure to allocate such
      data structures requires some amount of clean-up. Such code should
      be better encapsulated and moved to individual c'tor/init()/d'tor
      methods, so as to clean up the CMSCollector c'tor, and so that,
      as a matter of hygiene all these structures are destroyed when
      the CMSCollector is.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: