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

Counter _number_of_nmethods_with_dependencies should be atomic.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • 21
    • 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)

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

              Created:
              Updated:
              Resolved: