mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading, indexing] IJPL-207743: Improve debug logging
GitOrigin-RevId: d21bbe961f1e949f587f9fe31c490920790cd8d3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f988744ef
commit
f7f35afffb
@@ -15,7 +15,6 @@ import com.intellij.platform.locking.impl.listeners.LegacyProgressIndicatorProvi
|
||||
import com.intellij.platform.locking.impl.listeners.LockAcquisitionListener
|
||||
import com.intellij.util.IntelliJCoroutinesFacade
|
||||
import com.intellij.util.ReflectionUtil
|
||||
import com.intellij.util.SmartList
|
||||
import kotlinx.coroutines.*
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import java.util.*
|
||||
@@ -1641,7 +1640,7 @@ class NestedLocksThreadingSupport : ThreadingSupport {
|
||||
val state = getComputationState()
|
||||
val permit = state.getThisThreadPermit()
|
||||
if (permit !is ParallelizablePermit.WriteIntent) {
|
||||
throw IllegalStateException("This function expects the Write-Intent read action to be acquired")
|
||||
throw IllegalStateException("This function expects the Write-Intent read action to be acquired; current permit: $permit")
|
||||
}
|
||||
// for now, we release only the top-level WI lock.
|
||||
// There is no evidence that this method is called in deep parallelization stacks
|
||||
|
||||
Reference in New Issue
Block a user