Commit Graph
830 Commits
Author SHA1 Message Date
epickrram 8f0dd3d875 update bom version, add test for BytesMarshallable key/values 2017-10-11 14:44:59 +01:00
Peter Lawrey 0c0349bdc3 peter => Peter Lawrey 2017-09-08 17:04:08 +01:00
epickrram f058c5a9b4 promote replication builder attribute 2017-07-11 13:53:59 +01:00
epickrram b9737de37f fix replication test 2017-07-11 12:00:45 +01:00
epickrram 0201c6ae2c remove comments 2017-07-10 11:11:02 +01:00
epickrram ef3e0bbe69 allow Byteable instances that have maxSize() determined at runtime 2017-07-10 10:27:40 +01:00
Peter Lawrey 4b8b232f0d chronicle-bom 1.14.28-SNAPSHOT for all modules 2017-07-01 10:27:43 +01:00
Peter Lawrey ed8361b5cf Add a fix for enums being written as marshallables. 2017-06-04 14:01:48 +01:00
leventov 7f3cca96d2 Add ChronicleHashCorruption listening interface, and Beta annotation 2017-02-26 21:02:34 -06:00
leventov 0cf26fb9b6 Fix CHMUseCasesTest.testStringValueStringValueMap() 2017-02-26 17:34:38 -06:00
leventov c90e065e71 Ensure compatibility with 3.12 and Chronicle Maps created with Integer key, add ChronicleMap3_12IntegerKeyCompatibilityTest 2017-02-19 17:20:09 -06:00
leventov d31d974e2e Update to chronicle-algorithms 1.1.8 with a bug fix and add NegativeIntegerKeyTest 2017-02-18 15:02:52 -06:00
Sebastian Kürten 7358f84b8c Fix a few Javadoc typos 2017-01-31 14:19:28 +01:00
leventov 75b91a4142 Update Chronicle-Values dependency and add a test for #110 2017-01-21 15:57:05 -06:00
leventov c07ffc3d8f Disable MemoryLeaksTest.testChronicleMapCollectedAndDirectMemoryReleased() on Unix 2017-01-07 19:14:56 +08:00
leventov 842064dca5 Clean serializers and ThreadLocal fields of VanillaChronicleMap on close() 2016-12-27 15:50:24 +08:00
leventov fa70e216bd Improvements to ChronicleMap resource closing subsystem, making it more robust in exotic scenarios (OutOfMemoryError, StackOverflowError) and be able to close after incorrect attempt to close when a context is open in the same thread 2016-12-26 14:27:32 +08:00
leventov ef50f480de Rename MemoryResourcesTest to MemoryLeaksTest and track ChronicleMap's contexts leaks in it 2016-12-10 23:19:43 -06:00
leventov d3a968bd31 Suppress MemoryResourcesTest on Mac 2016-12-10 21:03:20 -06:00
leventov e0b534af23 Move all ChronicleMap closing logic into independent ChronicleHashResources. Reference contexts from ThreadLocals via ContextHolders and clear references to contexts on closing ChronicleMap. Make some closing procedures more paranoid than they were. Cache ChronicleMap's identityString and always return the same String from toIdentityString(). Add Throwables.returnOrSuppress(). 2016-12-10 21:03:20 -06:00
leventov e14cbe262b Disable testChronicleMapCollectedAndDirectMemoryReleased() on Linux 2016-11-20 20:06:13 -06:00
leventov 1f7a928af4 Fix testChronicleMapCollectedAndDirectMemoryReleased() 2016-11-20 19:37:51 -06:00
leventov a26b19d5c7 Generate extra garbage in MemoryResourcesTest to trigger GC 2016-11-20 18:52:38 -06:00
leventov 90b538ba64 Use random file names in tests of persisted maps to avoid inference 2016-11-20 18:31:44 -06:00
leventov 0f6d37ae24 Add ExitHookTest 2016-11-19 20:27:21 -06:00
leventov d76f838adb Add ability to configure name for all ChronicleMaps and ChronicleSets via ChronicleHashBuilder.name(). Add ChronicleHash.toIdentityString() 2016-11-12 15:43:27 -06:00
leventov 9a2bb31b66 Add ChronicleHash.offHeapMemoryUsed() method; Centralized management of all direct memory and file resources of ChronicleMap in one Cleaner 2016-11-05 15:08:45 -06:00
leventov e6f4fb74ee Fix ThrowablesTest 2016-11-05 14:53:46 -06:00
leventov 578c6638ba Add Throwables utilities, inspired by Guava 2016-10-30 13:47:34 -06:00
leventov 223b2d4329 Prevent leaks of ChronicleMaps though thread local contexts and supplimental OldDeletedEntriesCleanupThread, add MemoryLeakTest 2016-10-01 20:33:16 +03:00
leventov ba8227ade1 Use more specific ChronicleHashClosedException instead of IllegalStateException, when methods of ChronicleHash are called after hash.close(). Actualize ChronicleHash.close() javadoc. 2016-08-05 23:22:51 +07:00
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 7ada09a8dc Make VanillaChronicleHash.close() to wait until concurrent threads accessing the hash finish their work and don't permit new threads to come while close() is in progress and after that 2016-07-17 23:25:49 +07:00
Peter Lawrey a230c08e89 Cut blank lines 2016-07-07 20:33:40 +01:00
leventov 6340266cfa Add Chronicle Map 3.8.0 Compatibility test 2016-06-24 19:15:57 +07:00
leventov 4cffff652f Update to newer Core, Bytes & Wire dependency versions; make all enum marshallers ordinary classes with static INSTANCE fields, because of difficulties with Wire serialization of enums 2016-06-24 17:49:34 +07:00
Peter Lawrey 8ef1f1e647 Use updated BytesMarshallable with default implementations 2016-04-22 15:30:35 +01:00
Peter Lawrey 35c721419c Fix a couple of API changes. 2016-04-17 19:36:06 +01:00
Peter Lawrey b90ebc3b39 Fix up some tests broken from a tidy up of exceptions. 2016-04-15 13:09:59 +01:00
Peter Lawrey ffff33bed1 Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests 2016-04-12 12:08:14 +01:00
leventov e501e9898e Make CharSequenceCustomEncodingBytesWriter.append() method static 2016-04-07 19:49:44 +01:00
leventov 739796b90d Improve documentation 2016-03-23 20:09:43 +07:00
leventov ca5a988873 Remove MaximumChronicleMapSizeTest 2016-03-23 20:09:27 +07:00
leventov 51776091da Print progress in MaximumChronicleMapSizeTest 2016-03-23 18:56:17 +07:00
leventov e56046f5b5 Update MaximumChronicleMapSizeTest 2016-03-23 18:26:18 +07:00
leventov bd7d62f243 Add MaximumChronicleMapSizeTest 2016-03-23 18:04:55 +07:00
leventov 0ec0eed5eb Add tutorial section about custom serialization, add custom serialization tests, improve Javadocs in net.openhft.chronicle.hash.serialization package 2016-03-19 16:47:26 +07:00
leventov 27d781c08d Optimize BytesMarshallable default serialization and add a test for it 2016-03-10 17:17:22 +07:00
leventov ce97577767 Fix a bug in ByteBufferDataAccess 2016-03-05 18:39:16 +07:00
Gesly George c690231ace Tests shows ArrayIndexOutOfBoundsException when using Enums with even number of values 2016-03-02 22:04:20 -08:00