We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9606c commit eb2ea06Copy full SHA for eb2ea06
library/src/scala/runtime/Invoker.scala
@@ -62,13 +62,15 @@ object Invoker {
62
new FileWriter(measurementFile(dataDir), true)
63
)
64
65
- writer.append(Integer.toString(id)).append("\n").flush()
+ writer.append(Integer.toString(id))
66
+ writer.append("\n")
67
+ writer.flush()
68
ids.put(id, ())
69
}
70
71
72
def measurementFile(dataDir: String): File = new File(
73
dataDir,
- MeasurementsPrefix + runtimeUUID + "." + Thread.currentThread.getId
74
+ MeasurementsPrefix + runtimeUUID + "." + Thread.currentThread.nn.getId
75
76
0 commit comments