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

PretouchTask should page-align the chunk size

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 18
    • hotspot
    • None
    • gc
    • b23

    Description

      PreTouchParallelChunkSize is a product option used to determine the chunk size for PretouchTask parallelism. Currently the option value is used directly for as chunk size. Because it's a product option its value could be anything within range. This can lead to adjacent chunks overlapping the same page. It would be better to use a page-aligned chunk size, so that if the start of the full range is page aligned (which is common) then all of the chunks (except perhaps the last) will have page-aligned bounds and won't have any pages in common with other chunks for the same task.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: