HotSpot warm-up과 measurement 변화

첫 실행에서 steady state까지 영향을 주는 사건을 분리한다.

  1. Load

    class·initializer 실행

    startup
  2. Interpret

    execution profile 수집

    tier
  3. Compile

    hot method JIT compile·recompile

    optimize
  4. Measure

    GC·OS와 함께 분포 관찰

    steady-ish

핵심: 한 번 nanoTime에는 서로 다른 phase가 섞일 수 있다.