Skip to content

Commit

Permalink
A couple of questions on Java class loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltratt committed Jan 15, 2016
1 parent 931ab84 commit 5165370
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions warmup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 5165370

Please sign in to comment.