Forums Register Login

Implementation of features Java 8

+Pie Number of slices to send: Send
Hi,

How the new features of Java 8 could improve the performance ? To what level could one fine-tune the features and it's impact ?
+Pie Number of slices to send: Send
It's well known that the Java folks work hard at wringing extra performance in each version of the JDK. For example, the fork-join pool (which underlies parallel streams) got a nice boost by tweaking how tasks are scheduled. And ConcurrentHashMap now does better with Comparable keys. But in general, I believe that real performance gains come from making it possible for the everyday programmer to do the right thing.

In the context of Java 8, that means parallel streams and parallel algorithms. Our challenge is to keep all those cores busy that we have at our disposal. That's hard to do by hand, but if you make a stream parallel, or call parallel sort, then it is automatic. So, if you have computationally intensive tasks, then you should be able to get a nice boost by using the new tools to distribute the work over multiple processors.

Of course, that's not the only performance issue. Some people are more troubled by garbage collection or I/O. What perfomance bottleneck do you encounter in your work?

Cheers,

Cay
+Pie Number of slices to send: Send
Thanks Cay.

Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 701 times.
Similar Threads
Performance Tuning of Websites written in JSP/HTML
Help a journalist with an article?
NEW CERTIFICATION EXAM: Java Associate's Wanted
will this code be inlined?
Performance Tuning in Java Web Application
Enterprise Performance
The Java Performance Companion book question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:17:00.