cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java
static public void setDebugLeaks(boolean b) {
    if (b) {
      count_openFiles.set(0);
      maxOpenFiles.set(0);
      allFiles = new HashSet<>(1000);
    }
    debugLeaks = b;
  }
static public void setDebugLeaks(boolean b) {
    if (b) {
      count_openFiles.set(0);
      maxOpenFiles.set(0);
      allFiles = new HashSet<>(1000);
    }
    debugLeaks = b;
  }
static public void setDebugLeaks ( boolean b ) { if ( b ) { count_openFiles . set ( 0 ) ; maxOpenFiles . set ( 0 ) ; allFiles = new HashSet <> ( 1000 ) ; } debugLeaks = b ; }
Debugging, do not use in production.
Set counters to zero, set debugging on
@param b set true to track java.io.RandomAccessFile
Debugging do not use in production . Set counters to zero set debugging on