code: public void trackStatePointer(NativePack random) {
          if (random.getStatePointer() != null) {
              GarbageStateReference reference = new GarbageStateReference(random, queue);
              referenceMap.put(random.getStatePointer().address(), reference);
          }
      }
docs: This method is used internally from NativeRandom deallocators
  This method doesn't accept Random interface implementations intentionally.
  
  @param random