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

PretouchTask should page-align the chunk size

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: