Permalink
Browse files

more detail about java class loading

  • Loading branch information...
cfbolz committed Jan 19, 2016
1 parent 5656457 commit f2c4882b8c2a0d469ddb5926f3613ba5c90eff87
Showing with 5 additions and 3 deletions.
  1. +5 −3 warmup.tex
View
@@ -275,9 +275,11 @@ \subsubsection{Ensuring Determinism}
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?}.
class, or others too?}\cfbolz{just the benchmarking class, which I guess could
be a problem?} were lazily loaded during the first iteration of
benchmarks, distorting timings. We thus ensured that the benchmarking class
is fully loaded before the first iteration by calling a static
method on the benchmarking class, which forces it to be loaded.
Bearing in mind surprising
results such as the importance of link order~\cite{mytkowicz09surprising}, we

0 comments on commit f2c4882

Please sign in to comment.