From bb75773ba2d5ea7d362e75282d74075c6416f1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=8F=E4=BF=9D?= Date: Fri, 22 Mar 2019 08:36:52 +0800 Subject: [PATCH] HBASE-22082 Should not use an instance to access static members, which will increases compilation costs. Signed-off-by: stack --- .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index 26ff24e0332..bfd026a6b62 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -3678,7 +3678,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi visitBatchOperations(true, miniBatchOp.getLastIndexExclusive(), (int index) -> { Mutation mutation = getMutation(index); if (mutation instanceof Put) { - region.updateCellTimestamps(familyCellMaps[index].values(), byteTS); + HRegion.updateCellTimestamps(familyCellMaps[index].values(), byteTS); miniBatchOp.incrementNumOfPuts(); } else { region.prepareDeleteTimestamps(mutation, familyCellMaps[index], byteTS);