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

Shenandoah: ditch ShenandoahAlwaysPreTouch

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b25

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: