mirror of https://gitee.com/bigwinds/arangodb
Merge pull request #1983 from servusoft/patch-7
Global definition heap memory (TRI_V8_MAXHEAP) and adoptation for ARM
This commit is contained in:
commit
92cbb12092
|
@ -46,6 +46,17 @@
|
||||||
#define TRI_PADDING_32 1
|
#define TRI_PADDING_32 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
// --Section-- v8 features
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#define TRI_V8_MAXHEAP 3 * 1024
|
||||||
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
|
#undef TRI_V8_MAXHEAP
|
||||||
|
#define TRI_V8_MAXHEAP 1 * 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --Section-- solaris
|
// --Section-- solaris
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue