文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Dalvik 线性分配

Dalvik 线性分配

时间:2010-08-20  来源:hunterzy416

Dalvik线性分配的数据结构

/*

 * Linear allocation state.  We could tuck this into the start of the

 * allocated region, but that would prevent us from sharing the rest of

 * that first page.

 */

typedef struct LinearAllocHdr {

    int     curOffset;          /* offset where next data goes */

    pthread_mutex_t lock;       /* controls updates to this struct */

 

    char*   mapAddr;            /* start of mmap()ed region */

    int     mapLength;          /* length of region */

    int     firstOffset;        /* for chasing through */

 

    short*  writeRefCount;      /* for ENFORCE_READ_ONLY */

} LinearAllocHdr;

线性表数据结构

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载