Optimization. ThreadLocal.get() is expensive. Let's check it no often that once in...
authorMaxim Shafirov <max@jetbrains.com>
Fri, 17 Sep 2021 20:27:09 +0000 (23:27 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Sat, 18 Sep 2021 10:44:36 +0000 (10:44 +0000)
commit147374b40565a0eb439463a569ff6e815da173e3
tree06d5851393b191121fd873f1d02da507ca24370f
parent39bef905dc15531399d1453e737317c0232e636a
Optimization. ThreadLocal.get() is expensive. Let's check it no often that once in 50ms

GitOrigin-RevId: 51080935d24c777da1928b8b4c0513d29f59183a
platform/platform-tests/testSrc/com/intellij/openapi/progress/CancellationPropagationTest.kt
platform/util/src/com/intellij/openapi/progress/Cancellation.java