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

CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs23
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic

      Description

      The dependency verification code in CodeCache::mark_for_deoptimization walks over all live nmethods in the code cache and checks all dependencies for each nmethod. This leads to checking the same dependency multiple times which can take a huge amount of time.

      Due to this fact some tests time out when running with debug builds (see JDK-7194662). Especially tests with a lot of nmethods in the code cache.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anoll Albert Noll (Inactive)
              Reporter:
              twisti Christian Thalinger
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: