On Feb 26, 2:32pm, xueming.s...@oracle.com (Xueming Shen) wrote: -- Subject: Re: stop using mmap for zip I/O
| That's true, unfortunately, the mmap does trigger crash here and there.... | | There is a property you can define to disable it in later releases | -Dsun.zip.disableMemoryMapping=true | | There is discussion that maybe we should simply disable the mmap by default ... | | And, there is further plan to simply move the general zip file handling up to | pure java, without any native code, as the webrev showed below. I'm still | hoping we can do it in jdk9 later, when everyone is not that busy and can | help codereview the change. (the webrev might be a little aged) Thanks a lot! The plan sounds great, as the pure java implementation will prevent other core-dumps from corrupt zip files... Best, christos