cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [3/6] git commit: Revert "Reduce gossip memory use by interning VersionedValue strings"
Date Tue, 03 Dec 2013 03:17:01 GMT
Revert "Reduce gossip memory use by interning VersionedValue strings"

This reverts commit 7ad39601dd3c248595d84f016c41ac35abd786ed.


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ecd94221
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ecd94221
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ecd94221

Branch: refs/heads/trunk
Commit: ecd94221a25494ece1af22e9fa8c1f8d34eaf48d
Parents: 7ad3960
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon Dec 2 21:16:24 2013 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon Dec 2 21:16:24 2013 -0600

----------------------------------------------------------------------
 CHANGES.txt                                           | 1 -
 src/java/org/apache/cassandra/gms/VersionedValue.java | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ecd94221/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 88474ce..c80a00a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,7 +8,6 @@
  * Throw IRE if a prepared has more markers than supported (CASSANDRA-5598)
  * Expose Thread metrics for the native protocol server (CASSANDRA-6234)
  * Change snapshot response message verb (CASSANDRA-6415)
- * Reduce gossip memory use by interning VersionedValue strings (CASSANDRA-6410)
 
 
 1.2.12

http://git-wip-us.apache.org/repos/asf/cassandra/blob/ecd94221/src/java/org/apache/cassandra/gms/VersionedValue.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/gms/VersionedValue.java b/src/java/org/apache/cassandra/gms/VersionedValue.java
index 69efb3b..60459c8 100644
--- a/src/java/org/apache/cassandra/gms/VersionedValue.java
+++ b/src/java/org/apache/cassandra/gms/VersionedValue.java
@@ -78,7 +78,7 @@ public class VersionedValue implements Comparable<VersionedValue>
     private VersionedValue(String value, int version)
     {
         assert value != null;
-        this.value = value.intern();
+        this.value = value;
         this.version = version;
     }
 


Mime
View raw message