Commit Graph
1913 Commits
Author SHA1 Message Date
leventov 70fb0dd2fa Refactor: move initUsed(true) inside ChainingInterface.getContext() 2015-10-06 18:59:54 +03:00
leventov b967ad14d4 Factor Alloc stage abstraction, make alloc which fails to allocate in the current tier search from the first tier in chain 2015-10-06 18:59:45 +03:00
leventov 8cb556a9c1 Change allocatedExtraTierBulks counter type from long to int 2015-10-05 10:57:42 +03:00
leventov 0adaaa935d Store segmentHeadersOffset in global Mutable state (according to spec; to make ChronicleMap file independent from current mapping page size) 2015-10-05 10:15:31 +03:00
leventov 1384a56768 Align tier bulks to mapping granularity, instead of page boundary 2015-10-05 10:12:39 +03:00
leventov 21d5342048 Optimize memory in non-persisted case -- don't zero out all memory eagery; remove global mutable state duplication code in VanillaChronicleHash and ReplicatedChronicleMap; make sleep interruptible in OldEntriesCleanup thread; remove old entries cleanup duplicatation tracking; fix bugs 2015-10-04 07:57:12 +03:00
leventov 01c81ca05b Add debug logging of extra tier allocation 2015-10-03 05:18:08 +03:00
leventov 901ce5b55c Fix a bug: tierIndexOffsetWithinBulk extracted from position in tier bulk changes bitset was used as tierIndexMinusOne; refactorings 2015-10-03 05:14:38 +03:00
leventov 9d3ff93021 Default removedEntryCleanupTimeout() 1 second -> 1 minute 2015-10-03 05:10:54 +03:00
leventov 7460074ac5 Moved testFloodReplicatedMapWithDeletedEntries() test to a separate class from TcpReplicationSoakTest because they require different old deleted entries cleanup timeout configurations 2015-10-03 05:06:39 +03:00
leventov 71599fd4eb Proper zeroing-out mapped bytes (that could potentially be dirty), and only the bytes that are required to be zero by tier state invariants; refactorings and renamings 2015-10-03 01:38:35 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov f70d8b262a Add a comment on ChronicleMapBuilder.MAX_SEGMENTS choice 2015-10-02 11:37:18 +03:00
leventov 228f29d4b5 More random walk in OldDeletedEntriesCleanup 2015-10-02 10:59:36 +03:00
leventov 9ef7c514a3 Link ReplicableEntry and ChronicleHashBuilder.cleanupRemovedEntries() in Javadoc 2015-10-02 05:50:12 +03:00
Rob Austin c2e634fa13 corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-10-02 02:53:10 +03:00
Rob Austin 7bbaa9e402 corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-10-02 02:52:43 +03:00
Rob Austin efe6db066f corrected if (!attached.isServer || !attached.isHandShakingComplete())
return;
2015-10-02 02:51:50 +03:00
Rob Austin 488dc752c8 improved the connection listener 2015-10-02 02:50:57 +03:00
Rob Austin cd9aafbe2b fixed issue with 2015-10-02 02:46:13 +03:00
leventov fe4b200142 added connection listener check 2015-10-02 02:45:38 +03:00
leventov dad9de7ca2 added connection listener 2015-10-02 02:43:44 +03:00
leventov 103a893a25 CHENT-67 make putReturnsNull and remoteReturnsNull configurations in Chronicle Map not peristent [Application of b6426edbd2] 2015-10-02 02:10:10 +03:00
leventov 14373cc129 Rename ownInitTransients() -> initOwnTransients() 2015-10-02 02:07:38 +03:00
leventov 5ecfe6155c Complete Design Overview spec page and start Memory Layout; operation system -> operating system 2015-10-01 04:48:30 +03:00
leventov 0a5bc1e50c Fix same-key check in linkToSegmentContextsChain() 2015-09-29 00:42:20 +03:00
leventov b9084b1918 Init transient field cxt in VanillaChronicleMap in initOwnTransients() rather than on declaration site 2015-09-28 22:40:22 +03:00
leventov c88340f842 Fix several bugs 2015-09-28 22:13:03 +03:00
leventov 440b075f9d Remove ChronicleMap.putMapped() as a duplicate of computeIfPresent(); Reduce the number of ignored tests 2015-09-27 15:41:07 +03:00
leventov 22b964e069 HCOLL-392 Add entry checksums 2015-09-26 23:34:44 +03:00
leventov ff90218c0a Fix a bug in ChronicleSetBuilder -- forgot to update aligned64BitMemoryOperationsAtomic() 2015-09-26 22:07:41 +03:00
leventov 01d24b0ee0 As ChronicleMapBuilder always cloned before Map creation, make 'replicated' an 'instance' field instead of a parameter of almost all methods 2015-09-26 22:04:28 +03:00
leventov 4c75dfd937 Remove unused type parameter in ReplicatedMapEntryStages class 2015-09-26 22:04:10 +03:00
leventov 026127cd2f Factor KeyHashCode abstraction from HashQuery 2015-09-26 20:47:26 +03:00
leventov 1b10a3e220 Remove LockingStrategy 2015-09-25 21:01:57 +03:00
leventov 5a54f6a194 Remove stateless client 2015-09-25 20:39:39 +03:00
leventov 8870b05d86 HCOLL-387 add a way to limit hash lookup slots to 4 bytes 2015-09-23 02:02:36 +03:00
leventov b113118707 Limit HashLookup slot size with 4 or 8 bytes, back 2015-09-22 23:07:54 +03:00
leventov d9c771bedc Make key/value size discovery more defensive, inspired by #43 2015-09-21 19:08:45 +03:00
leventov 04d84e88c3 Fix a bug in PoissonDistribution.meanByCumulativeProbabilityAndValue() 2015-09-20 02:01:27 +03:00
leventov 993cbd0c4e Add ChronicleHashBuilder.nonTieredSegmentsPercentile() configuration and use proper math for segment sizing 2015-09-20 01:39:18 +03:00
leventov 3370aa7dba Add ChronicleHashBuilder.allowSegmentTiering() config for regressions and EntryCountMapTest 2015-09-18 18:14:40 +03:00
leventov 07a2bf3d76 Fix dead lock 2015-09-18 18:13:26 +03:00
leventov bc5c5c77b1 Simplify lazy class compilation with ConcurrentHashMap#computeIfAbsent() 2015-09-18 17:28:59 +03:00
leventov 19519c347a #43 add test 2015-09-18 15:36:46 +03:00
leventov 20585cd9c8 Avoid compiling classes several times in DataValueBytesMarshallers 2015-09-18 02:12:43 +03:00
leventov 50662c521b HCOLL-360 Small fixes 2015-09-17 23:37:40 +03:00
leventov 2eed65e80e HCOLL-360 Add segment tiers 2015-09-17 20:58:52 +03:00
leventov 4606b64a02 Update stage-compiler version removing limitation that stage names shouldn't be prefixes of each other 2015-09-12 21:29:49 +03:00
leventov 23d94257e1 HCOLL-384 add a test for issue #37 2015-09-10 17:00:38 +03:00