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

Parallel: Remove locking in PSOldGen::resize

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • gc
    • b17

      This method is invoked only after a full-gc, which is always inside a safepoint and by the VM-thread. Therefore, there is no need to use any locks inside this method.

      The asserts in `PSOldGen::shrink`, called inside `resize`, can be updated to better reflect in-safepoint and is-vmthread as well.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: