Synchronized dump method.