Parallel: Remove locking in PSOldGen::resize

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: