Commit Graph
798 Commits
Author SHA1 Message Date
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
leventov f2ccfca801 Specify query operations 2016-02-28 21:33:31 +07:00
leventov c3e436d390 Add TrickyContextCasesTest.testHashCollision() 2016-02-16 20:40:46 +07:00
leventov 01f15fb9b1 Fix msync JNA implementations and add SimplePersistedMapOverflowTest 2016-02-05 16:35:46 +07:00
leventov bb22985d9c Remove entriesPerSegment field from VanillaChronicleHash 2016-01-19 14:17:38 +03:00
leventov 8141ba15e8 Check in VinceTest 2016-01-17 17:08:35 +03:00
leventov 56e5e93388 Hide the remaining parts of the replication API from the public eye 2016-01-17 17:08:13 +03:00
leventov dd4c2f67d8 Remove replication frontend implementation in favor of Chronicle Engine 2016-01-15 22:19:52 +03:00
leventov 994e921d95 Make different tests in Issue63Test class use different persistence files 2016-01-12 12:04:33 +03:00
leventov 98be95a4a0 Fix a bug in ListMarshaller 2016-01-12 11:20:44 +03:00
leventov 9a0c182612 Update the test for issue #63 2016-01-11 19:14:11 +03:00
leventov b168612d90 Add ListMarshaller and SetMarshaller factory methods 2016-01-11 15:22:42 +03:00
leventov 75252c9fdf Simplify CharSequenceSizedReader 2016-01-11 15:19:15 +03:00
leventov 85939d6335 Use shortcut ChronicleMapBuilder API in Issue58 2016-01-10 20:51:01 +03:00
leventov f4b6a7ddd4 Check in the test for issue #63 2016-01-10 20:13:04 +03:00
leventov 021d77e973 HCOLL-423 throw IllegalStateException if averageKeySize() or averageKey() is called when size is statically known 2016-01-09 19:08:17 +03:00
leventov 65afe387e3 Fix grammar and style of the spec 2016-01-09 19:08:16 +03:00
leventov ce61bd1887 Use temporary file in Issue24ChronicleSetTest 2016-01-08 05:42:54 +03:00
leventov 2e6626079c Ignore RecoverTest 2016-01-07 06:22:42 +03:00