humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java
public void dumpMemoryLog()
  {
    blockingLock();
    try {
      int numItems = mNextAvailableReferenceSlot;
      log.debug("Memory slots in use: {}", numItems);
      for(int i = 0; i < numItems; i++)
      {
        JNIReference ref = mValidReferences[i];
        if (ref != null)
          log.debug("Slot: {}; Ref: {}", i, ref);
      }
    } finally {
      blockingUnlock();
    }
    return;
  }
public void dumpMemoryLog()
  {
    blockingLock();
    try {
      int numItems = mNextAvailableReferenceSlot;
      log.debug("Memory slots in use: {}", numItems);
      for(int i = 0; i < numItems; i++)
      {
        JNIReference ref = mValidReferences[i];
        if (ref != null)
          log.debug("Slot: {}; Ref: {}", i, ref);
      }
    } finally {
      blockingUnlock();
    }
    return;
  }
public void dumpMemoryLog ( ) { blockingLock ( ) ; try { int numItems = mNextAvailableReferenceSlot ; log . debug ( "Memory slots in use: {}" , numItems ) ; for ( int i = 0 ; i < numItems ; i ++ ) { JNIReference ref = mValidReferences [ i ] ; if ( ref != null ) log . debug ( "Slot: {}; Ref: {}" , i , ref ) ; } } finally { blockingUnlock ( ) ; } return ; }
Dump the contents of our memory cache to the log.
<p>
This method requires a global lock in order to run so only
use for debugging.
</p>
Dump the contents of our memory cache to the log . <p > This method requires a global lock in order to run so only use for debugging . < / p >