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

G1: Stack allocate instances of HeapRegionRemSetIterator

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        During heap initialization we pre-allocate instances of the HeapRegionRemSetIterator (one per GC worker thread) and during RSetscanning each worker thread fetches its iterator and re-initializes the iterator's fields with the heap region and heap region remembered set that the worker thread is currently working on.

        Pre-allocating the iterators could result in some false cache sharing among worker threads. It would be better if the iterator instances were stack allocated.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  johnc John Cuthbertson
                  Reporter:
                  johnc John Cuthbertson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: