提交 f49b3587 编写于 作者: S sherman

8005466: JAR file entry hash table uses too much memory (zlib_util.c)

Summary: realign the fields of jzcell struct
Reviewed-by: sherman
Contributed-by: ioi.lam@oracle.com
上级 b8a7c6dc
...@@ -177,8 +177,8 @@ typedef struct jzentry { /* Zip file entry */ ...@@ -177,8 +177,8 @@ typedef struct jzentry { /* Zip file entry */
*/ */
typedef struct jzcell { typedef struct jzcell {
unsigned int hash; /* 32 bit hashcode on name */ unsigned int hash; /* 32 bit hashcode on name */
jlong cenpos; /* Offset of central directory file header */
unsigned int next; /* hash chain: index into jzfile->entries */ unsigned int next; /* hash chain: index into jzfile->entries */
jlong cenpos; /* Offset of central directory file header */
} jzcell; } jzcell;
typedef struct cencache { typedef struct cencache {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册