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

Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do()

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic

      Description

      During the code review cycle for JDK-8199813, Erik O
      came up with a way to verify the contract for thread_do()
      which is currently only in comment form:

      // All JavaThreads + all non-JavaThreads (i.e., every thread in the system)
      void Threads::threads_do(ThreadClosure* tc) {

      This new function will be called:

      ThreadsSMRSupport::verify_hazard_pointer_scanned()

      and will require some support infrastructure changes
      to implement it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcubed Daniel Daugherty
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: