kirklund commented on a change in pull request #6179:
URL: https://github.com/apache/geode/pull/6179#discussion_r601750899
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/offheap/ReferenceCountHelper.java
##########
@@ -81,72 +85,72 @@ public static Object createReferenceCountOwner() {
* of this method must also call unskipRefCountTracking after the allocation
or free is done.
*/
public static void skipRefCountTracking() {
- getInstance().skipRefCountTracking();
+ delegate().skipRefCountTracking();
}
/**
* Returns true if currently tracking reference counts.
*/
- public static boolean isRefCountTracking() {
- return getInstance().isRefCountTracking();
+ static boolean isRefCountTracking() {
Review comment:
I'm going to keep the unused methods in this class and restore the
methods to public. We can clean this class up further next time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]