mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
reduce CodeCapacity value to 16MB in bootimage.cpp
32MB was just slightly too large for PowerPC immediate call instructions to span, and 16MB matches the JIT executable memory area we use in compile.cpp.
This commit is contained in:
parent
6d887ef34f
commit
bf8eb52611
@ -389,7 +389,7 @@ main(int ac, const char** av)
|
||||
Processor* p = makeProcessor(s, h, false);
|
||||
|
||||
BootImage image;
|
||||
const unsigned CodeCapacity = 32 * 1024 * 1024;
|
||||
const unsigned CodeCapacity = 16 * 1024 * 1024;
|
||||
uint8_t* code = static_cast<uint8_t*>(h->allocate(CodeCapacity));
|
||||
p->initialize(&image, code, CodeCapacity);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user