by arielweisberg · 12y ago · 0 comments
They are going to improve lock performance, but do nothing to help people avoid locking like lightweight threads. Not waking up a thread and not locking is faster...
It's weird how so many software projects completely lose sight of the fundamentals.
I know I am biased due to how I use Java. I care very little for syntax and syntactic sugar. Reading and typing speed is not a problem for me. Get stuff done on time is and working around these shortcomings eats up my time.
(disclosure: I'm a very happy customer of theirs)
The reality is that you have to build software that works on the Oracle JVM.
It's bad enough that people who care aren't using G1 yet. They still use CMS and small heaps and are careful to prevent promotion and fragmentation.
You basically end up benefiting from GC for short lived allocations, but pay dearly for using Java when managing state the collector can't handle.
I have not closely reviewed this benchmark but this was one person's experience http://blog.mgm-tp.com/2013/12/benchmarking-g1-and-other-jav...