kotlinx-lincheck icon indicating copy to clipboard operation
kotlinx-lincheck copied to clipboard

Implement advanced atomic/silent sections nestedness model

Open eupp opened this issue 9 months ago • 0 comments

Consider the following code:

var counter = 0
val map = ConcurrentHashMap<String, Int>()
map.computeIfAbsent("abc") {
    counter++
}

In such examples, when outputting the trace we usually want to hide the details of ConcurrentHashMap methods from the trace, but keep the events from the user-provided lambda in the trace.

eupp avatar Feb 06 '25 11:02 eupp