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

Refactor Threads::possibly_parallel_oops_do() to use Threads::parallel_java_threads_do()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • 10
    • b31
    • generic
    • generic

      Currently we have 2 places where we apply the parallel claiming protocol when iterating threads, that is Threads::parallel_java_threads_do() and Threads::possibly_parallel_oops_do(). In order to avoid code duplication, the latter should call the former, using a private ThreadClosure. We already had one bug (JDK-8185273) that was caused by an inconsistency between the two.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: