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

Remove redundant cross_modify_fence()

XMLWordPrintable

    • b21

      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().

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

              Created:
              Updated:
              Resolved: