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

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6
    • hotspot
    • gc
    • 5.0
    • 5.0
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: