Ilya Kaznacheev
Ilya Kaznacheev
Also fix control.sh
``` java.lang.AssertionError at net.openhft.chronicle.queue.impl.single.SCQIndexing.sequenceForPosition(SCQIndexing.java:519) at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueStore.sequenceForPosition(SingleChronicleQueueStore.java:309) at net.openhft.chronicle.queue.impl.single.StoreTailer.beyondStartOfCycleBackward(StoreTailer.java:376) at net.openhft.chronicle.queue.impl.single.StoreTailer.beyondStartOfCycle(StoreTailer.java:339) at net.openhft.chronicle.queue.impl.single.StoreTailer.next0(StoreTailer.java:304) at net.openhft.chronicle.queue.impl.single.StoreTailer.readingDocument0(StoreTailer.java:219) at net.openhft.chronicle.queue.impl.single.StoreTailer.readingDocument(StoreTailer.java:194) at net.openhft.chronicle.queue.impl.single.StoreTailer.readingDocument(StoreTailer.java:138) at software.chronicle.fix.staticcode.msgseq.QueueMsgSequenceHandler.refresh(QueueMsgSequenceHandler.java:57) ``` Possibly related to #1059
OpenHFT/Chronicle-Wire#414
``` java.lang.AssertionError: Closeables still open at net.openhft.chronicle.core.io.AbstractCloseable.assertCloseablesClosed(AbstractCloseable.java:160) at net.openhft.chronicle.core.io.AbstractReferenceCounted.assertReferencesReleased(AbstractReferenceCounted.java:61) at net.openhft.chronicle.network.NetworkTestCommon.assertReferencesReleased(NetworkTestCommon.java:27) at net.openhft.chronicle.network.NetworkTestCommon.afterChecks(NetworkTestCommon.java:74) at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) Suppressed: java.lang.IllegalStateException: Not closed IdempotentLoopStartedEventHandler@1 closed=false at net.openhft.chronicle.core.io.AbstractCloseable.assertCloseablesClosed(AbstractCloseable.java:184) ... 31 more Caused by: net.openhft.chronicle.core.StackTrace:...
The following snippet is prevalent across our code: ``` static class Notifier { Report er = new Report(Bytes.allocateElasticOnHeap()); ... constructed in main thread, used in dedicated thread only... Report(Bytes bytes)...
`software.chronicle.fix.demo.gettingstarted.example7.SendMessageAsDTO/disk~space~checker` is a much better thread name than `background~resource~releaser` since it allows our user to understand who started this.
Currently, the `ThreadLocalHelper.getTL(tl, lambda)` encourages the passing of method reference/lambda created on the spot, which creates garbage. We should perhaps introduce a `WeakThreadLocal` class which will accept a supplier in...
If a mapping of Java lang type -> Chronicle object is put to `ClassLocal` retained in a static field, such as `java.lang.Integer` -> `SerializationStrategies#ANY_SCALAR`, then Chronicle classes may not be...
``` java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at net.openhft.chronicle.map.ExitHookTest.testExitHook(ExitHookTest.java:138) ```
``` java.lang.IllegalArgumentException: _firstFreeTierIndex should be in [0, 1099511627775] range, 1696615168607488 is given at net.openhft.chronicle.hash.VanillaGlobalMutableState$$Native.setFirstFreeTierIndex(VanillaGlobalMutableState$$Native.java:40) at net.openhft.chronicle.hash.impl.VanillaChronicleHash.allocateTier(VanillaChronicleHash.java:903) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.nextTier(CompiledMapQueryContext.java:3115) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.alloc(CompiledMapQueryContext.java:3476) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.initEntryAndKey(CompiledMapQueryContext.java:3494) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.putEntry(CompiledMapQueryContext.java:3987) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.doInsert(CompiledMapQueryContext.java:4176) at net.openhft.chronicle.map.MapEntryOperations.insert(MapEntryOperations.java:153) at net.openhft.chronicle.map.impl.CompiledMapQueryContext.insert(CompiledMapQueryContext.java:4099)...