public BufMgr( int numbufs, String replacerArg ) {
    
    numBuffers = numbufs;  
    frmeTable = new FrameDesc[numBuffers];
    bufPool = new byte[numBuffers][MAX_SPACE];
    frmeTable = new FrameDesc[numBuffers];
    
    // Initialize the Buffer Table with empty frame descriptions
    for (int i = 0; i < numBuffers; i++)
      frmeTable[i] = new FrameDesc();
    
    replacer = new Clock(this);
    
    // You must setBufferManager or the state array is not initialized
    // NOTE: This seems redundant and should be part of the replacer constructor
    replacer.setBufferManager( this );
      
  } // end constructor