lmkd/tests: Consume memory more aggressively to avoid test timeout am: 2bf5487381 am: 99cb321008
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1972099 Change-Id: I35abb6e745ed1c874d38b1eadd22c1daf021e4ec
This commit is contained in:
commit
c701f32c23
|
|
@ -47,8 +47,8 @@ using namespace android::base;
|
||||||
|
|
||||||
// Test constant parameters
|
// Test constant parameters
|
||||||
#define OOM_ADJ_MAX 1000
|
#define OOM_ADJ_MAX 1000
|
||||||
#define ALLOC_STEP (ONE_MB)
|
#define ALLOC_STEP (5 * ONE_MB)
|
||||||
#define ALLOC_DELAY 1000
|
#define ALLOC_DELAY 200
|
||||||
|
|
||||||
// used to create ptr aliasing and prevent compiler optimizing the access
|
// used to create ptr aliasing and prevent compiler optimizing the access
|
||||||
static volatile void* gptr;
|
static volatile void* gptr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue