- attempt to cleanup some debug logging to see if it helps restore normal performance

This commit is contained in:
Mark Vejvoda
2011-01-17 16:31:25 +00:00
parent e967ac48fd
commit c51eb0a3c4
9 changed files with 138 additions and 155 deletions

View File

@@ -1093,13 +1093,13 @@ void ValueCheckerVault::addItemToVault(const void *ptr,int value) {
void ValueCheckerVault::checkItemInVault(const void *ptr,int value) const {
map<const void *,int32>::const_iterator iterFind = vaultList.find(ptr);
if(iterFind == vaultList.end()) {
if(SystemFlags::VERBOSE_MODE_ENABLED) {
// if(SystemFlags::VERBOSE_MODE_ENABLED) {
// printf("In [%s::%s Line: %d] check vault key [%p] value [%d]\n",__FILE__,__FUNCTION__,__LINE__,ptr,value);
// for(map<const void *,string>::const_iterator iterFind = vaultList.begin();
// iterFind != vaultList.end(); iterFind++) {
// printf("In [%s::%s Line: %d] LIST-- check vault key [%p] value [%s]\n",__FILE__,__FUNCTION__,__LINE__,iterFind->first,iterFind->second.c_str());
// }
}
// }
throw std::runtime_error("memory value has been unexpectedly modified (not found)!");
}
Checksum checksum;