changeset 15256:9639ef45ef3e

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
author sherman
date Fri, 11 Jan 2013 22:43:29 -0800
parents 50394fa17c1b
children cb0d3aa71c07
files jdk/src/share/native/java/util/zip/zip_util.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/native/java/util/zip/zip_util.h	Thu Jan 10 21:52:38 2013 +0000
+++ b/jdk/src/share/native/java/util/zip/zip_util.h	Fri Jan 11 22:43:29 2013 -0800
@@ -177,8 +177,8 @@
  */
 typedef struct jzcell {
     unsigned int hash;    /* 32 bit hashcode on name */
+    unsigned int next;    /* hash chain: index into jzfile->entries */
     jlong cenpos;         /* Offset of central directory file header */
-    unsigned int next;    /* hash chain: index into jzfile->entries */
 } jzcell;
 
 typedef struct cencache {