test whole program
This commit is contained in:
@@ -137,10 +137,10 @@ static char *heap_start;
|
||||
static char *heap;
|
||||
static size_t HEAP_SIZE = 1024 * 1024 * 1024;
|
||||
|
||||
void *ptr;
|
||||
int MallocCounter = 0;
|
||||
static void *ptr;
|
||||
static int MallocCounter = 0;
|
||||
|
||||
size_t sizeUsed;
|
||||
static size_t sizeUsed;
|
||||
|
||||
// INITAlloc(void) {
|
||||
|
||||
@@ -198,7 +198,7 @@ pagesizes(size_t ps[MAXPAGESIZES])
|
||||
}
|
||||
|
||||
|
||||
void __attribute__ ((constructor)) INITREGULARALLOC(void) {
|
||||
__attribute__ ((constructor)) void INITREGULARALLOC(void) {
|
||||
size_t sz;
|
||||
// Pre Allocate 400 MB
|
||||
sz = 1073741824;
|
||||
|
||||
Reference in New Issue
Block a user