Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method, Redux Date: Fri, 24 Jun 2011 09:04:54 -0700 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <1lu707p0cpr9vhrpv51d7hmst6bt1qdbcv@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 24 Jun 2011 16:04:57 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="20GYBuezvHpp83lA3Rh62Q"; logging-data="4868"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3A46S69jyOar7bVcpJuBHObSLmAwGi7E=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: Cancel-Lock: sha1:Fg4CddI56ouMv42xybY8rWiIKEM= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5647 On 6/24/2011 8:38 AM, lewbloch wrote: > You'll want to run each loop a bunch of times (10,000? 100,000?>= > 1M?) before starting the timing loop in order to cancel the effects of > HotSpot warmup. I was hoping that the -server flag would obviate most or all warm-up (this is from another post in this tread): C:\Users\Brenden\Dev\Test2\src>java -server test.CallingTest No?