Reduce JIT memory for ARM.

This commit is contained in:
XMRig 2020-12-15 02:52:38 +07:00
parent 4c7d20c8e6
commit 6b331b6945
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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;