WITH_OBJECT_HEADERS enabled GC from Dalvik?
Posted
by Wonil
on Stack Overflow
See other posts from Stack Overflow
or by Wonil
Published on 2010-04-29T01:49:32Z
Indexed on
2010/05/13
14:54 UTC
Read the original article
Hit count: 307
Hello, As I know Dalvik VM does not support generational GC as default.
But, I found "WITH_OBJECT_HEADERS" compilation flag which could be related with generational GC from HeapInternal.h file.
typedef struct DvmHeapChunk {
#if WITH_OBJECT_HEADERS
u4 header;
const Object *parent;
const Object *parentOld;
const Object *markFinger;
const Object *markFingerOld;
u2 birthGeneration;
u2 markCount;
u2 scanCount;
u2 oldMarkGeneration;
u2 markGeneration;
u2 oldScanGeneration;
u2 scanGeneration;
#endif
Does anyone try to build Dalvik with this option enabled? Do you know anything about generational GC support from Dalvik?
Regards, Wonil.
© Stack Overflow or respective owner