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

Use madvise to uncommit memory

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 12
    • hotspot
    • None
    • gc

      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).

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

              Created:
              Updated: