eivindw
Re:Comparing Java GC Collectors
on Sunday January 10, 2016 @02:44AM (#10874589)
I agree that my app and approach are not suited for a real comparison. But using gc logs and a tool like GCViewer is. Point is you need to measure these things - for every option you change.
Re:Comparing Java GC Collectors
on Sunday January 10, 2016 @02:38AM (#10874583)
Yes, choice of collector is just one of many tuning options. Point is you need to log and measure your own app for every change you make.
Re:Comparing Java GC Collectors
on Sunday January 10, 2016 @02:26AM (#10874564)
Main point of the article was really to show how to use gc logging correctly - calculating max, avg pause-times plus throughput. The VisualJ stuff was just added for fun. I ran without it - and the numbers are the same. Also running for a minute was just to get images to compare.
In a real application you just need gc logging and a tool to calculate metrics. Point is that you have to measure - my numbers are only valid for a 1 min running testapp..