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

Use madvise to uncommit memory

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      Currently when uncommitting memory we ask the OS to actually uncommit it, and wait until that action has been completed.

      However that is not necessary: OSes provide a facility to inform it that memory is unused, potentially delaying actual OS work to when there is need for new memory.
      This means that the operation itself may be much faster, decreasing pause time (where we do this work currently).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: