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

CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • hs23
    • hotspot
    • b03
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: