I think Kirk's answer (He also posts on this group) is extremely valid. I'd 
certainly agree with him your warmup isn't necessarily optimising what you 
think it is and your unit of work is too small for valid measurement.. 

On Saturday, April 8, 2017 at 7:13:01 AM UTC+1, J Crawford wrote:
>
> Hello,
>
> I think here might be the best place to find someone who may know what’s 
> going on with the JVM in that test: 
> http://stackoverflow.com/questions/43281743/what-happens-inside-the-jvm-so-that-a-method-invocation-in-java-becomes-slower-w
>  
> <http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F43281743%2Fwhat-happens-inside-the-jvm-so-that-a-method-invocation-in-java-becomes-slower-w&sa=D&sntz=1&usg=AFQjCNG6iCF2TYgd_mznNgIl2BqVrZqEXQ>
>
> Basically I warmup a method and then when I call it on another location 
> (few lines below) it is much slower. Trying to understand and mitigate this 
> effect so my method invocation is consistently fast.
>
> Thanks!
>
> -JC
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to