I think that also implies that the JVM can't inline across the fences, so
there's another cost.


On Wed, Aug 6, 2014 at 3:42 PM, Mike Thvedt <mike.thv...@gmail.com> wrote:

> I don't want to question your microbenchmarks, but I'm not sure you have
> the correct interpretation.
>
> Read memory fences have little to no cost. In particular, read memory
> fences are a no-op (literally) on x86 unless the cache line is invalidated.
>
>
> On Wednesday, August 6, 2014 5:54:32 AM UTC-5, Robin Heggelund Hansen
> wrote:
>
>> Just read this blog post about Oxen (http://arrdem.com/2014/08/05/
>> of_oxen,_carts_and_ordering/?utm_source=dlvr.it&utm_medium=twitter). In
>> it is mentioned that Rich is re-introducing invokeStatic to achieve a
>> possible 10% performance increase for Clojure 1.7.
>>
>> I couldn't find any information about this. Anyone know where I can find
>> out more?
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to