lmkd/tests: Consume memory more aggressively to avoid test timeout am: 2bf5487381 am: 99cb321008 am: c701f32c23
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1972099 Change-Id: I9d964c75c5f923e5d4db2790fa96382eb5e387f6
This commit is contained in:
commit
81b6597577
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue