Parallel: Add PSOldGen::expand_and_allocate

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b07

      `ParallelScavengeHeap::expand_heap_and_allocate` invokes `PSOldGen::allocate`, but the caller context (VM thread in safepoint) actually intends to expand-and-allocate in a single-threaded manner. Introduce a new API in PSOldGen for this use case.

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

              Created:
              Updated:
              Resolved: