You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var counter =0val map =ConcurrentHashMap<String, Int>()
map.computeIfAbsent("abc") {
counter++
}
Currently, if a lincheck test fails in such a case, it would also output in the trace all the implementation details of the concurrent hash map (or any other stdlib collection). These details typically would not be relevant to the user (assuming bug occurs in user code, and not in the Java stdlib classes themself).
We need to improve on this, and do not show these details by default to the user.
Consider the following example:
Currently, if a lincheck test fails in such a case, it would also output in the trace all the implementation details of the concurrent hash map (or any other stdlib collection). These details typically would not be relevant to the user (assuming bug occurs in user code, and not in the Java stdlib classes themself).
We need to improve on this, and do not show these details by default to the user.
Depends on #501 and #506
The text was updated successfully, but these errors were encountered: