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

Remove redundant cross_modify_fence()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      Remove cross_modify_fence() from ~ThreadBlockInVM(), ~ThreadBlockInVMWithDeadlockCheck() and java_suspend_self_with_safepoint_check().
      These fences were added before each JavaThread had to disarm itself (JDK-8230594). After a safepoint/handshake each JavaThread will always call SafepointMechanism::process_if_requested_slow() when transitioning out of the safe state and will execute a cross_modify_fence().

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: