code: public static ByteBuffer allocateDirectNoCleaner(int capacity) {
          assert USE_DIRECT_BUFFER_NO_CLEANER;
  
          incrementMemoryCounter(capacity);
          try {
              return PlatformDependent0.allocateDirectNoCleaner(capacity);
          } catch (Throwable e) {
              decrementMemoryCounter(capacity);
              throwException(e);
              return null;
          }
      }
docs: Allocate a new {@link ByteBuffer} with the given {@code capacity}. {@link ByteBuffer}s allocated with
  this method <strong>MUST</strong> be deallocated via {@link #freeDirectNoCleaner(ByteBuffer)}.