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

Monitor class should use ThreadBlockInVMPreprocess

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • b10

    Description

      JDK-8265753 added ThreadBlockInVMPreprocess as a more general class of ThreadBlockInVM that can take a call-back to be executed before possibly executing SafepointMechanism::process_if_requested().
      This class should also be used in the Monitor class instead of using ThreadBlockInVM. This will allow to remove the embedded InFlightMutexRelease object from ThreadBlockInVM and to move the InFlightMutexRelease class definition to mutex.cpp where it belongs.

      Attachments

        Issue Links

          Activity

            People

              pchilanomate Patricio Chilano Mateo
              pchilanomate Patricio Chilano Mateo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: