Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!not-for-mail From: Wanja Gayk Newsgroups: comp.lang.java.programmer Subject: Re: java8 up to 6x slower than java7 Date: Sun, 2 Mar 2014 20:52:38 +0100 Organization: Netfront http://www.netfront.net/ Lines: 28 Message-ID: References: <29a51a94-8f9a-41b1-980f-e8c13e2d11a2@googlegroups.com> NNTP-Posting-Host: 93.130.42.23 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1393789958 9963 93.130.42.23 (2 Mar 2014 19:52:38 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Sun, 2 Mar 2014 19:52:38 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 Xref: csiph.com comp.lang.java.programmer:27654 In article , Robert Klemme (shortcutter@googlemail.com) says... > >> So the requirement was really to have very light weighted hash > >> maps for this data structure. Even if there is a small time overhead. > >> Problem was that application crashed without compaction, since > >> memory consumption was too high. [..] > A small change which would help this code and avoid too much overhead is > to set the table to null once the Map is empty. Since all your Maps are > empty at the end this would help dramatically. I'd say it's hard to help Jan, if he doesn't provide some real code with some "real" (or generated) data to chew on. Kind regards, Wanja -- ..Alesi's problem was that the back of the car was jumping up and down dangerously - and I can assure you from having been teammate to Jean Alesi and knowing what kind of cars that he can pull up with, when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer] --- news://freenews.netfront.net/ - complaints: news@netfront.net ---