From 47062fe9feaacfeeddaf1755ce257e3a5508218b Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Wed, 1 Mar 2017 13:04:27 -0600 Subject: [PATCH 1/4] Update README.md --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index 6db184e19..04d6c08ea 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,3 @@ -# Download - -As a software company we are maturing and as such want to offer a more commercial supported service, to companies who use our libraries. Maven central is a fantastic location for downloading artifacts, but because our software is downloaded anonymously it offers little opportunity for us to build up a working relationship with your organisation, we feel such a relationship will be beneficial to both parties. With our advice we can help your company get the most out of chronicle technology, in perhaps ways that you did not even realise exist, this can both save you time and money. We have pondered on how to build up this working relationship but at the same time not to alienate our existing user base. So to this end, we have decided to make the following changes : - - - Our libraries will continue to be open source and available on git-hub, you get access to all the source code and release tags for free and anonymously, you are able to create the builds yourself off the latest tags. - - - but in order to engage with our users, we are no-longer going to release to maven central, future releases are going to be moved onto our own chronicle nexus server, if you want access to this nexus server, to download the latest release artifacts, please contact sales@chronicle.software - # Chronicle Map **Documentation: Tutorial, @@ -19,15 +11,6 @@ mailing list, Stackove -### Download - -As a software company we are maturing and as such want to offer a more commercial supported service, to companies who use our libraries. Maven central is a fantastic location for downloading artifacts, but because our software is downloaded anonymously it offers little opportunity for us to build up a working relationship with your organisation, we feel such a relationship will be beneficial to both parties. With our advice we can help your company get the most out of chronicle technology, in perhaps ways that you did not even realise exist, this can both save you time and money. We have pondered on how to build up this working relationship but at the same time not to alienate our existing user base. So to this end, we have decided to make the following changes, - -- Our libraries will continue to be open source and available on git-hub, you get access to all the source code and release tags for free and anonymously, you are able to create the builds yourself off the latest tags. - -- but in order to engage with our users, we are no-longer going to release to maven central, future releases are going to be moved onto our own chronicle nexus server, if you want access to this nexus server, to download the latest release artifacts, please contact mailto:sales@chronicle.software[sales@chronicle.software] - - ### 3 min to understand everything about Chronicle Map Chronicle Map is an in-memory key-value store designed for low-latency and/or multi-process From 05dfdb5c3742fa84e04de0a7b02fdc31f0d29eda Mon Sep 17 00:00:00 2001 From: leventov Date: Mon, 6 Mar 2017 00:09:15 -0600 Subject: [PATCH 2/4] Update dependencies and continue bump version to 3.14.0-SNAPSHOT --- pom.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index a01b7bd7d..964218f41 100755 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ 4.0.0 chronicle-map - 3.13.1-SNAPSHOT + 3.14.0-SNAPSHOT OpenHFT/Chronicle-Map Chronicle-Map bundle @@ -39,7 +39,7 @@ net.openhft third-party-bom pom - 3.5.7 + 3.5.8 import @@ -47,7 +47,7 @@ net.openhft chronicle-bom pom - 1.13.59 + 1.14.0-SNAPSHOT import @@ -64,7 +64,6 @@ net.openhft chronicle-values - 1.5.5 From 3291a43c95088a66ab1283e9e3eff607ae5b27c9 Mon Sep 17 00:00:00 2001 From: leventov Date: Mon, 6 Mar 2017 00:10:01 -0600 Subject: [PATCH 3/4] Use ThreadHints.onSpinWait() in BigSegmentHeader --- .../openhft/chronicle/hash/impl/BigSegmentHeader.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/net/openhft/chronicle/hash/impl/BigSegmentHeader.java b/src/main/java/net/openhft/chronicle/hash/impl/BigSegmentHeader.java index dea20abc4..a770c45d2 100644 --- a/src/main/java/net/openhft/chronicle/hash/impl/BigSegmentHeader.java +++ b/src/main/java/net/openhft/chronicle/hash/impl/BigSegmentHeader.java @@ -22,6 +22,7 @@ import net.openhft.chronicle.algo.bytes.NativeAccess; import net.openhft.chronicle.algo.locks.VanillaReadWriteUpdateWithWaitsLockingStrategy; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.core.OS; +import net.openhft.chronicle.core.threads.ThreadHints; import net.openhft.chronicle.hash.locks.InterProcessDeadLockException; import java.util.concurrent.TimeUnit; @@ -192,6 +193,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryReadLock(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); } while (System.nanoTime() <= end); return false; } @@ -206,6 +208,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryReadLock(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); long now = System.currentTimeMillis(); if (now != lastTime) { lastTime = now; @@ -277,6 +280,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryUpdateLock(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); } while (System.nanoTime() <= end); return false; } @@ -291,6 +295,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryUpdateLock(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); long now = System.currentTimeMillis(); if (now != lastTime) { lastTime = now; @@ -354,6 +359,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryWriteLockAndDeregisterWait(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); } while (System.nanoTime() <= end); deregisterWait(address); return false; @@ -374,6 +380,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (LOCK.tryWriteLockAndDeregisterWait(A, null, address + LOCK_OFFSET)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); long now = System.currentTimeMillis(); if (now != lastTime) { lastTime = now; @@ -455,6 +462,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (tryUpgradeUpdateToWriteLockAndDeregisterWait0(address)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); } while (System.nanoTime() <= end); deregisterWait(address); return false; @@ -475,6 +483,7 @@ public final class BigSegmentHeader implements SegmentHeader { if (tryUpgradeUpdateToWriteLockAndDeregisterWait0(address)) return true; checkInterrupted(interruptible); + ThreadHints.onSpinWait(); long now = System.currentTimeMillis(); if (now != lastTime) { lastTime = now; From b08e2839783a79c3ecc8247823399f05aa7bc248 Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Mon, 6 Mar 2017 01:10:01 -0600 Subject: [PATCH 4/4] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 04d6c08ea..45fc249f1 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ Javadoc** **Community support: Issues, -Chronicle -mailing list, Stackoverflow, +Chronicle Map mailing list, Stackoverflow, Chronicle User's group**