Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method, Redux Date: Sun, 26 Jun 2011 14:31:06 -0400 Organization: albasani.net Lines: 33 Message-ID: References: <1lu707p0cpr9vhrpv51d7hmst6bt1qdbcv@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 1aI8DZBrey+hPDWsqTt1Ncacag8JRS0XNCGY3zwvb00vt7W5zY5UQJ6Fxl743sMEGLYahcZZHSSTyDMtSPAmSsPbTFPraAgNnmlULg/+sBAmgxXsnyt0HnH/hFSm/FHC NNTP-Posting-Date: Sun, 26 Jun 2011 18:31:01 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="1++OCWWroCadk6AmQnSmCOJX7XQAlO2lqBwN5lWxxXopGlOGPRaoczybHDCEePvFAz3DRL7wSmIwif7/qwoacwMKAPXvhEqaVY3Z0HJCaJQ/DzVw4/NS/hkWQ326z409"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:FbfdSIUWchHyFBJVWq+MmjukuNo= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5686 On 06/26/2011 01:43 PM, Lew wrote: > On 06/24/2011 12:04 PM, markspace wrote: >> 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? > > No. How could it? "-server "JVMs based on Sun's Hotspot technology initially compile class methods with a low optimization level. These JVMs use a simple complier [sic] and an optimizing JIT compiler. Normally the simple JIT compiler is used. However you can use this option to make the optimizing compiler the one that is used. This change will significantly increases [sic] the performance of the server but the server takes longer to warm up when the optimizing compiler is used." -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg