Reduce JIT memory for ARM.

This commit is contained in:
XMRig
2020-12-15 02:52:38 +07:00
parent f94fddebee
commit e706936763
4 changed files with 46 additions and 13 deletions

View File

@@ -383,7 +383,7 @@ extern "C" {
case RANDOMX_FLAG_JIT:
cache->jit = new randomx::JitCompiler(false);
cache->initialize = &randomx::initCacheCompile;
cache->datasetInit = cache->jit->getDatasetInitFunc();
cache->datasetInit = nullptr;
cache->memory = memory;
break;