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

DirtyCardQueueSet::apply_closure_to_completed_buffer_helper isn't helpful

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b109
    • generic
    • generic

      DirtyCardQueueSet has a "helper" function apply_closure_to_completed_buffer_helper. It is only called by apply_closure_to_completed_buffer, and yet is public. And spliting up the functionality into the outer caller and the internal helper actually complicates and obfuscates what is going on. It would be better if the functionality of the helper were merged into its caller and the helper eliminated as a separate function.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: