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

[leyden] ciEnv::register_method should lock the correct queue lock

XMLWordPrintable

      Mainline code locks `MethodCompileQueue_lock` in `ciEnv::register_method`. But with Leyden-s `UseGlobalCompileQueueLock = false`, we have separate locks, per compile queue. So it seems to stand to reason we should be locking those locks, not a global one.

      I have not been able to attribute this gap to any bug or performance issue, but I think we better fix this proactively.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: