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

Shenandoah: ditch ShenandoahAlwaysPreTouch

XMLWordPrintable

    • gc
    • b25

        ShenandoahAlwaysPreTouch flag dates back to the times when ShenandoahHeap used VirtualSpace for reserving/committing heap. To workaround single-threaded pretouch code in VirtualSpace, a new flag was needed:
         https://mail.openjdk.java.net/pipermail/shenandoah-dev/2016-October/000892.html

        That code is long gone now, and current Shenandoah just reserves/commits from OS directly. Therefore, this flag is no longer needed. It actually confuses logging in JDK-8245720.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: