From f49b3587dfc78fc598fc6d6bc869afb93521f2e1 Mon Sep 17 00:00:00 2001 From: sherman Date: Fri, 11 Jan 2013 22:43:29 -0800 Subject: [PATCH] 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 --- src/share/native/java/util/zip/zip_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/native/java/util/zip/zip_util.h b/src/share/native/java/util/zip/zip_util.h index 5771e8632..5782eaacf 100644 --- a/src/share/native/java/util/zip/zip_util.h +++ b/src/share/native/java/util/zip/zip_util.h @@ -177,8 +177,8 @@ typedef struct jzentry { /* Zip file entry */ */ typedef struct jzcell { 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 */ + jlong cenpos; /* Offset of central directory file header */ } jzcell; typedef struct cencache { -- GitLab