Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: Jan Burse Newsgroups: comp.lang.java.programmer Subject: Re: java8 up to 6x slower than java7 Date: Mon, 03 Mar 2014 11:53:41 +0100 Organization: albasani.net Lines: 19 Message-ID: References: <29a51a94-8f9a-41b1-980f-e8c13e2d11a2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net xM46c2kklVT0g8i9qe/Ma4zI9jniF4pavEIT5VWI0cFbksenkFrD+9Opm2orCrxlRI9JeL//qMkAnk+L0ZfYCQ== NNTP-Posting-Date: Mon, 3 Mar 2014 10:53:40 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="SfXuEa06wvuTpuj7RPVFbQAhce3U8dznD30HRpdwNTQoaYji0Lhdy3dvzZ8mvcY2XVZlg/ZKsJiGeUUfhnWtOyNZPsoaWRIiAeX+8PndUlMmFp+5uHQ0Kux2T/F4Q1R3"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 In-Reply-To: Cancel-Lock: sha1:RS50nIPdPxk9qMIrX72qs78t6rk= Xref: csiph.com comp.lang.java.programmer:27659 Wanja Gayk schrieb: > 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. Well better help Dennis Haupt, not me, the original poster of the thread. Me myself is anyway a hopeless case. I just discovered ConcurrentHashMap in JDK 8. Very interesting, it doesn't use a lock on the outside, but I counted 9 times a synchronized statement inside the code. Still thinking about what the implications of ConcurrentHashMap could be for my further development. Also I stuck with the following problem: http://stackoverflow.com/questions/22135449/maintaining-unique-objects-for-names-with-concurrent-delete Bye