File tree 1 file changed +3
-6
lines changed
compiler/src/dotty/tools/dotc/profile
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,9 @@ object FileUtils {
73
73
74
74
}
75
75
76
- // FIXME: Potentially there is a false-positive error under -Ycheck-reentrant?
77
- // [error] possible data race involving globally reachable variable isReadOnly in class CharBuffer: Boolean
78
- // [error] possible data race involving globally reachable variable address in class Buffer: Long
79
- @ sharable private object AsyncBufferedWriter {
80
- private val Close = CharBuffer .allocate(0 )
81
- private val Flush = CharBuffer .allocate(0 )
76
+ private object AsyncBufferedWriter {
77
+ @ sharable private val Close = CharBuffer .allocate(0 )
78
+ @ sharable private val Flush = CharBuffer .allocate(0 )
82
79
}
83
80
private class AsyncBufferedWriter (val underlying : Writer , bufferSize : Int = 4096 ) extends LineWriter {
84
81
private var current : CharBuffer = allocate
You can’t perform that action at this time.
0 commit comments