public int getNumberOfChunks() {
    m_readLock.lock();

    final int size = m_chunks.size();

    m_readLock.unlock();

    return size;
  }
Returns the number of memory chunks in memory.

@return The number of memory chunks in memory.
java/zylib/src/main/java/com/google/security/zynamics/zylib/general/memmanager/Memory.java