Liveness check for global scope is not as fast as it could be

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 18
    • Affects Version/s: 18
    • Component/s: core-libs
    • None
    • b27

        Global scope extends shared scope. Some code calls `checkValidStateSlow` which in turns calls isAlive() on the scope. Since global scope does not override this method, it will try to do a volatile VarHandle get to check the scope state - but this is useless since the global scope is always alive.

              Assignee:
              Maurizio Cimadamore
              Reporter:
              Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: