Java Code Geeks » Tal Weiss http://www.javacodegeeks.com/ Java 2 Java Developers Resource Center Tue, 31 Mar 2015 04:00:44 +0000 en-US hourly 1 http://wordpress.org/?v=4.1.1 Supercharged jstack: How to Debug Your Servers at 100mphhttp://www.javacodegeeks.com/2014/10/supercharged-jstack-how-to-debug-your-servers-at-100mph.html http://www.javacodegeeks.com/2014/10/supercharged-jstack-how-to-debug-your-servers-at-100mph.html#comments Thu, 23 Oct 2014 13:00:04 +0000 http://www.javacodegeeks.com/?p=31871 A guide for using jstack to debug live Java production servers jstack is like U2 – it’s been with us since the dawn of time, and we can’t seem to be rid of it. Jokes aside, jstack is by far one of the handiest tools in your arsenal to debug a live production server. Even so, I ...

 

]]>
http://www.javacodegeeks.com/2014/10/supercharged-jstack-how-to-debug-your-servers-at-100mph.html/feed/ 0
Garbage Collectors – Serial vs. Parallel vs. CMS vs. G1 (and what’s new in Java 8)http://www.javacodegeeks.com/2014/09/garbage-collectors-serial-vs-parallel-vs-cms-vs-g1-and-whats-new-in-java-8.html http://www.javacodegeeks.com/2014/09/garbage-collectors-serial-vs-parallel-vs-cms-vs-g1-and-whats-new-in-java-8.html#comments Mon, 08 Sep 2014 04:00:16 +0000 http://www.javacodegeeks.com/?p=29886 The 4 Java Garbage Collectors – How the Wrong Choice Dramatically Impacts Performance The year is 2014 and there are two things that still remain a mystery to most developers – Garbage collection and understanding the opposite sex. Since I don’t know much about the latter, I thought I’d take a whack at the former, ...

 

]]>
http://www.javacodegeeks.com/2014/09/garbage-collectors-serial-vs-parallel-vs-cms-vs-g1-and-whats-new-in-java-8.html/feed/ 0
Java 8 StampedLocks vs. ReadWriteLocks and Synchronizedhttp://www.javacodegeeks.com/2014/06/java-8-stampedlocks-vs-readwritelocks-and-synchronized.html http://www.javacodegeeks.com/2014/06/java-8-stampedlocks-vs-readwritelocks-and-synchronized.html#comments Mon, 02 Jun 2014 22:00:47 +0000 http://www.javacodegeeks.com/?p=26049 Synchronized sections are kind of like visiting your parents-in-law. You want to be there as little as possible. When it comes to locking the rules are the same – you want to spend the shortest amount of time acquiring the lock and within the critical section, to prevent bottlenecks from forming. The core language idiom ...

 

]]>
http://www.javacodegeeks.com/2014/06/java-8-stampedlocks-vs-readwritelocks-and-synchronized.html/feed/ 3
10 Features in Java 8 You Haven’t Heard Ofhttp://www.javacodegeeks.com/2014/05/10-features-in-java-8-you-havent-heard-of.html http://www.javacodegeeks.com/2014/05/10-features-in-java-8-you-havent-heard-of.html#comments Thu, 01 May 2014 19:16:39 +0000 http://www.javacodegeeks.com/?p=24864 Lambdas lambdas lambdas. That’s all you ever hear about when talking about Java 8. But that’s just one part. Java 8 has a lot of new features – some are powerful new classes and idioms, while others are just things that should have been there from the get-go. I wanted to go over ten new ...

 

]]>
http://www.javacodegeeks.com/2014/05/10-features-in-java-8-you-havent-heard-of.html/feed/ 1
The 7 Log Management Tools Java Developers Should Knowhttp://www.javacodegeeks.com/2014/04/the-7-log-management-tools-java-developers-should-know.html http://www.javacodegeeks.com/2014/04/the-7-log-management-tools-java-developers-should-know.html#comments Fri, 25 Apr 2014 07:00:09 +0000 http://www.javacodegeeks.com/?p=24531 Splunk vs. Sumo Logic vs. LogStash vs. GrayLog vs. Loggly vs. PaperTrails vs. Splunk>Storm Splunk, Sumo Logic, LogStash, GrayLog, Loggly, PaperTrails – did I miss someone? I’m pretty sure I did. Logs are like fossil fuels – we’ve been wanting to get rid of them for the past 20 years, but we’re not quite there yet. ...

 

]]>
http://www.javacodegeeks.com/2014/04/the-7-log-management-tools-java-developers-should-know.html/feed/ 7
Java 8 LongAdders: The Right Way To Manage Concurrent Countershttp://www.javacodegeeks.com/2014/04/java-8-longadders-the-right-way-to-manage-concurrent-counters.html http://www.javacodegeeks.com/2014/04/java-8-longadders-the-right-way-to-manage-concurrent-counters.html#comments Sat, 19 Apr 2014 12:00:47 +0000 http://www.javacodegeeks.com/?p=24305 I just lOvE new toys, and Java 8 has a bunch of them. This time around I want to talk about one of my favourites – concurrent adders. This is a new set of classes for managing counters written and read by multiple threads. The new API promises significant performance gains, while still keeping things ...

 

]]>
http://www.javacodegeeks.com/2014/04/java-8-longadders-the-right-way-to-manage-concurrent-counters.html/feed/ 0
15 Must Read Java 8 Tutorialshttp://www.javacodegeeks.com/2014/04/15-must-read-java-8-tutorials.html http://www.javacodegeeks.com/2014/04/15-must-read-java-8-tutorials.html#comments Fri, 11 Apr 2014 19:00:37 +0000 http://www.javacodegeeks.com/?p=24025 Java 8 was released last month and is just chock-full of new features and behind-the-scenes optimizations. The internet has been doing quite a good job covering all these new additions – both the good and the bad. I thought it’d be good to do a round-up of what we think are some of the best ...

 

]]>
http://www.javacodegeeks.com/2014/04/15-must-read-java-8-tutorials.html/feed/ 0
New Parallelism APIs in Java 8: Behind The Glitz and Glamourhttp://www.javacodegeeks.com/2014/04/new-parallelism-apis-in-java-8-behind-the-glitz-and-glamour.html http://www.javacodegeeks.com/2014/04/new-parallelism-apis-in-java-8-behind-the-glitz-and-glamour.html#comments Tue, 08 Apr 2014 13:00:24 +0000 http://www.javacodegeeks.com/?p=23856 I’m a great multi-tasker. Even as I’m writing this post, I can still find room to feel awkward about a remark I made yesterday at a party that had everyone looking at me strange. Well, the good news is I’m not alone – Java 8 is also pretty good at multi-tasking. Let’s see how. One ...

 

]]>
http://www.javacodegeeks.com/2014/04/new-parallelism-apis-in-java-8-behind-the-glitz-and-glamour.html/feed/ 0
The Dark Side Of Lambda Expressions in Java 8http://www.javacodegeeks.com/2014/03/the-dark-side-of-lambda-expressions-in-java-8.html http://www.javacodegeeks.com/2014/03/the-dark-side-of-lambda-expressions-in-java-8.html#comments Sun, 30 Mar 2014 22:00:32 +0000 http://www.javacodegeeks.com/?p=23423 This post may not make me any new friends. Oh well, I was never really popular at school anyway. But let’s get to the point. Java 8’s biggest feature in terms of the language is undoubtedly Lambda expressions. It’s been a flagship feature for functional languages such as Scala and Clojure for a few years, and ...

 

]]>
http://www.javacodegeeks.com/2014/03/the-dark-side-of-lambda-expressions-in-java-8.html/feed/ 17
5 Features In Java 8 That WILL Change How You Codehttp://www.javacodegeeks.com/2014/03/5-features-in-java-8-that-will-change-how-you-code.html http://www.javacodegeeks.com/2014/03/5-features-in-java-8-that-will-change-how-you-code.html#comments Wed, 19 Mar 2014 11:00:21 +0000 http://www.javacodegeeks.com/?p=23106 Java 8 is packed full of some really exciting features at both the JVM and language level. While some of the features initially envisioned for this release got scoped out or pushed out to release 9, there are literally dozens of new features. Many of the new additions are under-the-hood improvements either at the compiler, ...

 

]]>
http://www.javacodegeeks.com/2014/03/5-features-in-java-8-that-will-change-how-you-code.html/feed/ 0