Counter _number_of_nmethods_with_dependencies should be atomic.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • None
    • b10

      We increment this counter when holding CodeCache, but loads are holding Compile_lock.
      Lets just make it atomic so we don't need to reason about if there is some race here.
      Also we are trying to avoid 'dirty' reads in the code base. (since in theory it is subject to things like word-tearing)

            Assignee:
            Robbin Ehn
            Reporter:
            Robbin Ehn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: