High performance java

Page 1

High Performance Java source: http://www.flickr.com/photos/katemonkey/122489910/


Who are we? Peter Lawrey

Attila Balรกzs

http://vanillajava.blogspot.com peter.lawrey@higherfrequencytrading.com

http://hype-free.blogspot.com dify.ltd@gmail.com


Can you write fast Java code?


Can you write fast Java code?

Yes.


Hints In three bulletpoints or less ● GC tuning: the good die young ● Use a CPU and memory profiler ● Mechanical Sympathy ○ Don't produce garbage ○ Prefer primitives ○ Know thy hardware!


Thy hardware

(haswell)

source: Intel


Thy hardware

source: http://mechanical-sympathy.blogspot.com/2013/02/cpu-cache-flushing-fallacy.html


Resources Vanilla Java Performance Java User's Group OpenHFT Mechanical Sympathy Friends of jClarity


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.