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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: