This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new ef0eb6f289 Make a field in TVList final and static to save memory 
(#7463)
ef0eb6f289 is described below

commit ef0eb6f28948dd96cff0d432afa56276acfdadd7
Author: Jackie Tien <[email protected]>
AuthorDate: Wed Sep 28 12:06:29 2022 +0800

    Make a field in TVList final and static to save memory (#7463)
---
 .../src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java 
b/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java
index 721f9cdeb6..8dcea925a4 100644
--- a/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java
+++ b/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java
@@ -49,7 +49,7 @@ public abstract class TVList implements WALEntryValue {
 
   protected static final int SMALL_ARRAY_LENGTH = 32;
   protected static final String ERR_DATATYPE_NOT_CONSISTENT = "DataType not 
consistent";
-  long maxChunkRawSizeThreshold =
+  protected static final long maxChunkRawSizeThreshold =
       IoTDBDescriptor.getInstance().getConfig().getMaxChunkRawSizeThreshold();
   // list of timestamp array, add 1 when expanded -> data point timestamp array
   // index relation: arrayIndex -> elementIndex

Reply via email to