diff --git a/tests/lmkd_tests.cpp b/tests/lmkd_tests.cpp index 6491a7b..0676d85 100644 --- a/tests/lmkd_tests.cpp +++ b/tests/lmkd_tests.cpp @@ -47,8 +47,8 @@ using namespace android::base; // Test constant parameters #define OOM_ADJ_MAX 1000 -#define ALLOC_STEP (ONE_MB) -#define ALLOC_DELAY 1000 +#define ALLOC_STEP (5 * ONE_MB) +#define ALLOC_DELAY 200 // used to create ptr aliasing and prevent compiler optimizing the access static volatile void* gptr;