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

OopStorage parallel iteration scales poorly

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 11
    • None
    • hotspot
    • None
    • gc
    • b13
    • generic
    • generic

    Description

      The parallel iteration support supplied by OopStorage scales poorly to multiple threads, particularly when the work to be done for each block is small, as may occur when the storage contains weak references. For example, a microbenchmark for JNI weak handles such as from JDK-8176454, with JNI weak handle processing parallelized, shows little or no parallelization speedup.

      This seems to be a consequence of a combination of (1) contention when attempting to claim blocks, and (2) each thread touching the majority of blocks as it walks the block list.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: