public void checkMemoryLeaks() {
    boolean detected = false;
    if (TRACK) {
      for (Map.Entry<OPointer, PointerTracker> entry : pointerMapping.entrySet()) {
        OLogManager.instance()
            .errorNoDb(this, "DIRECT-TRACK: unreleased direct memory pointer `%X` detected.", entry.getValue().allocation,
                System.identityHashCode(entry.getKey()));
        detected = true;
      }
    }

    assert !detected;
  }
public void checkMemoryLeaks() {
    boolean detected = false;
    if (TRACK) {
      for (Map.Entry<OPointer, PointerTracker> entry : pointerMapping.entrySet()) {
        OLogManager.instance()
            .errorNoDb(this, "DIRECT-TRACK: unreleased direct memory pointer `%X` detected.", entry.getValue().allocation,
                System.identityHashCode(entry.getKey()));
        detected = true;
      }
    }

    assert !detected;
  }
public void checkMemoryLeaks ( ) { boolean detected = false ; if ( TRACK ) { for ( Map . Entry < OPointer , PointerTracker > entry : pointerMapping . entrySet ( ) ) { OLogManager . instance ( ) . errorNoDb ( this , "DIRECT-TRACK: unreleased direct memory pointer `%X` detected." , entry . getValue ( ) . allocation , System . identityHashCode ( entry . getKey ( ) ) ) ; detected = true ; } } assert ! detected ; }
Checks whether there are not released buffers in the pool
Checks whether there are not released buffers in the pool