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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • b10
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: