Of course is Java 8 worth the effort. Some highlights:
- no more permgen OOMs - improved concurrency implementations: http://docs.oracle.com/javase/8/docs/technotes/guides/concurrency/changes8.html - faster hash maps (20%) - lambda expressions are faster than inner classes Some concurrency classes like LongAdder are already included in ES. Java 8 JVM brings also G1 GC to its full extension. G1 GC is not faster than CMS GC, but it scales much better over multicore and reduces stop-the-world pauses to milliseconds. To exploit the full advantage of Java 8, ES would need a large overhaul by rewriting inner classes to lambda style, streams, fork/join pool etc. As long as Lucene does not switch to Java 8, the benefit is only partial. Jörg On Thu, Oct 30, 2014 at 9:01 PM, Georgi Ivanov <georgi.r.iva...@gmail.com> wrote: > Hi , > I wander if i should start using Java 8 with my ES cluster. > > Are there any benefits using Java 8 ? > For example : > faster GC , faster Java itself .. anything ES would bebefit from Java 8 .. > etc > > > Please share your experience. > > Georgi > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/9cf82905-63cf-43f2-b14a-de8f21cb4b50%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGS98nt8%2ByPdm14UHR0pvZVzqVVE%3DtQakQhB_8R6arnNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.