Skip to lesson

Case study: investigate long GC pauses

Every object a program creates must later be found and cleared by the garbage collector, so the allocation rate decides how often young GCs run. When the slowest requests line up with GC pauses, cutting allocation usually helps more than changing GC options.

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.