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

G1 uses only a single thread for pretouching the java heap

    XMLWordPrintable

Details

    • gc
    • b24

    Backports

      Description

        In some recent SPECjbb2015 runs with -XX:+AlwaysPreTouch G1 used only a single thread for pretouching hundreds of GB of Java heap which takes a long time.

        Eg.

        [0.160s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 420 work units pre-touching 450971566080B.
        [136.307s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 6 work units pre-touching 7046430720B.
        [140.038s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 6 work units pre-touching 7046430720B.
        [144.142s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 1 work units pre-touching 880803840B.
        [144.400s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 1 work units pre-touching 880803840B.
        [144.867s][debug][gc,heap ] Running G1 PreTouch with 1 workers for 1 work units pre-touching 880803840B.

        Fix this regression.

        Attachments

          Issue Links

            Activity

              People

                sangheki Sangheon Kim
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: