G1 now the default in JDK 9
Stanislav Baiduzhyi
sbaiduzh at redhat.com
Thu Jul 2 07:51:01 UTC 2015
On 02/07/15 08:20, Richard Kolb wrote:
> Hi Mani,
>
> That's great news. It's a long time in coming.
>
> It would be nice to see an updated benchmark on collectors in Java,
> especially with all the improvements to G1 in Java 8 update 40 and Java 9.
>
> Here is an old one
> <http://blog.mgm-tp.com/2013/12/benchmarking-g1-and-other-java-7-garbage-collectors/>
> .
I am not sure synthetic benchmarks like SPECjbb will show the full
picture, you still have to benchmark the task at hand. And sometimes
articles like those can be quite misleading (oh I remember when I was a
junior developer and read lots of those articles and made lots of stupid
conclusions).
The most egoistically important thing for me, NetBeans works twice
slower and eats twice as much RAM on G1 than on ConcMarkSweep+ParNew.
Maybe someone else can quote the source, I'm sure I've read somewhere
that G1 is good for 10+ GB heap, where it starts beating older GCs.
--
Regards,
Stas
More information about the adoption-discuss
mailing list