code: public void commit() {
  		for (TransactionLifecycleListener l : lifecycleListeners)
  			l.onTxCommit(this);
  
  		if (logger.isLoggable(Level.FINE))
  			logger.fine("transaction " + txNum + " committed");
  	}
docs: Commits the current transaction. Flushes all modified blocks (and their
  log records), writes and flushes a commit record to the log, releases all
  locks, and unpins any pinned blocks.