From a67267f56211f637b29b2531b0f7ff0ecdd28b65 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Tue, 29 Mar 2016 20:21:40 +0200 Subject: [PATCH] Minor: add an SMM todo --- src/main/kotlin/core/messaging/StateMachineManager.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/core/messaging/StateMachineManager.kt b/src/main/kotlin/core/messaging/StateMachineManager.kt index 96bea1251d..ec87d70098 100644 --- a/src/main/kotlin/core/messaging/StateMachineManager.kt +++ b/src/main/kotlin/core/messaging/StateMachineManager.kt @@ -80,6 +80,8 @@ class StateMachineManager(val serviceHub: ServiceHub, val runInThread: Executor) // checkpointing when unit tests are run inside Gradle. The right fix is probably to stop Quasar's // bit-too-clever-for-its-own-good ThreadLocal serialisation trick. It already wasted far more time than it can // ever recover. + // + // TODO: Remove this now that TLS serialisation is fixed. val checkpointing: Boolean get() = !System.err.javaClass.name.contains("LinePerThreadBufferingOutputStream") /** Returns a list of all state machines executing the given protocol logic at the top level (subprotocols do not count) */