HBASE-23223 Support the offsetLock of bucketCache to use strong ref (#764)
commit4ea792246fbbc5adf9f4cede38c0513e2669b45b
authorbsglz <18031031@qq.com>
Thu, 21 Nov 2019 08:39:58 +0000 (21 16:39 +0800)
committerWellington Ramos Chevreuil <wchevreuil@apache.org>
Thu, 21 Nov 2019 08:39:58 +0000 (21 08:39 +0000)
treea85ad0cc09c7d352abbaa1465d7b35d067b38b5f
parent77b4e8c97286cdc66f2468ff8d62bca1b30cbd67
HBASE-23223 Support the offsetLock of bucketCache to use strong ref (#764)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/util/IdReadWriteLock.java
hbase-server/src/main/java/org/apache/hadoop/hbase/util/IdReadWriteLockStrongRef.java [new file with mode: 0644]
hbase-server/src/main/java/org/apache/hadoop/hbase/util/IdReadWriteLockWithObjectPool.java [copied from hbase-server/src/main/java/org/apache/hadoop/hbase/util/IdReadWriteLock.java with 77% similarity]
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestIdReadWriteLockStrongRef.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestIdReadWriteLockWithObjectPool.java [moved from hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestIdReadWriteLock.java with 89% similarity]