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

CMS: optimize nmethod lists to reduce scanning

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8-pool
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      The current mechanism that maintains the scavenge roots in nmethods list is unsuitable for CMS. The list implies that there are two types of collections: young (after which the list should be pruned) and full (during which we would scan the whole code cache). So, currently CMS doesn't prune this list at all, which means that the list can grow pretty big. For CMS we should actually maintain two lists: one that contains nmethods that point to the young gen and the other one that contains pointers to the old gen. Hopefully the seconds list would be smaller than the whole set of nmethods.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iveresov Igor Veresov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: