@edu.umd.cs.findbugs.annotations.SuppressWarnings(
      value = { "LI_LAZY_INIT_STATIC", "MS_EXPOSE_REP" },
      justification = "Method is called by single thread at the starting of RS")
  public static ChunkCreator initialize(int chunkSize, boolean offheap, long globalMemStoreSize,
    float poolSizePercentage, float initialCountPercentage, HeapMemoryManager heapMemoryManager,
    float indexChunkSizePercent) {
    if (instance != null) {
      return instance;
    }
    instance = new ChunkCreator(chunkSize, offheap, globalMemStoreSize, poolSizePercentage,
      initialCountPercentage, heapMemoryManager, indexChunkSizePercent);
    return instance;
  }
Initializes the instance of ChunkCreator
@param chunkSize              the chunkSize
@param offheap                indicates if the chunk is to be created offheap or not
@param globalMemStoreSize     the global memstore size
@param poolSizePercentage     pool size percentage
@param initialCountPercentage the initial count of the chunk pool if any
@param heapMemoryManager      the heapmemory manager
@return singleton MSLABChunkCreator
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ChunkCreator.java