What should I measure while choosing the garbage collector?
In my case, I am trying to compare the performance of throughput collector over G1GC, not quite sure what should I look for before making my final decision. I know looking at how much time is spent by garbage collector sounds like a good idea but it might or might not affect my application performance. (FYI - migrating from Java 8 to Java 11)