add sandbox checks for excessive memory allocation and make all exponential
[IRC.git] / Robust / src / Runtime / DSTM / interface / dstm.h
index b9791968ebd96592bea10cc13eae73600d8ef6f7..b7913809e3cf8bffa1e557faadc7b355ca3d6f13 100644 (file)
@@ -59,6 +59,8 @@
 //#define SHUTDOWNINTERVAL  3 //M
 #define RETRYINTERVAL 100  //N  (For MatrixMultiply, 2DFFT, 2DConv benchmarks)
 #define SHUTDOWNINTERVAL 1 //M
+#define NUM_TRY_TO_COMMIT 2
+#define MEM_ALLOC_THRESHOLD 20485760//20MB
 
 #include <stdlib.h>
 #include <stdio.h>