Permalink
Browse files

A couple of questions on Java class loading.

  • Loading branch information...
ltratt committed Jan 15, 2016
1 parent 931ab84 commit 5165370d0e99f1b00b21ecc0811c23bb5771296f
Showing with 5 additions and 5 deletions.
  1. +5 −5 warmup.tex
View
@@ -265,16 +265,16 @@ \subsubsection{Ensuring Determinism}
fixed this simply by moving the random seed initialisation to the start
of the in-process iteration main loop.
For the Java benchmarks, we noticed that classes \laurie{just the benchmarking
class, or others too?} were lazily loaded during the first iteration of
benchmarks, distorting timings. We thus ensured that all classes needed in
benchmarks are fully loaded before the first iteration \laurie{how?}.
Bearing in mind surprising
results such as the importance of link order~\cite{mytkowicz09surprising}, we
then used two different machines to compile VMs and then ran the benchmarks
on these machines.
For the Java benchmarks we made sure that the benchmark classes are loaded
before the first iteration of the benchmarks. Otherwise, the first iteration
is often dominated by the time the class loading takes, which is not what we
are interested in measuring.
\subsection{Measuring Computation and Not File Performance}

0 comments on commit 5165370

Please sign in to comment.