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

Take Compile_lock for SystemDictionary::_modification_counter with safepoint check

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      This should use atomic operations instead. The Compile_lock can then be made _safepoint_check_always.

      Edit. instead of using atomics make compiler code go to ThreadInVMFromNative before taking the Compile_lock so that the Compile_lock always checks for safepoints.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                coleenp Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: