{"id":171,"date":"2006-11-12T14:01:39","date_gmt":"2006-11-12T14:01:39","guid":{"rendered":"https:\/\/kari.world.ikari.fi\/2006\/11\/12\/pimp-the-performance\/"},"modified":"2006-11-12T14:01:39","modified_gmt":"2006-11-12T14:01:39","slug":"pimp-the-performance","status":"publish","type":"post","link":"https:\/\/kari.world.ikari.fi\/?p=171","title":{"rendered":"Pimp the Performance"},"content":{"rendered":"<p>For Java &#8230;<\/p>\n<ul>\n<li><a href=\"http:\/\/java.sun.com\/performance\/reference\/whitepapers\/tuning.html\">Java Tuning White Paper<\/a><\/li>\n<li><a href=\"http:\/\/www.javaperformancetuning.com\/news\/newtips061.shtml\">Java Performance Tuning<\/a><\/li>\n<\/ul>\n<p>Highlight for today:<br \/>\n<b>-XX:+UseBiasedLocking<\/b> &#8211; An object is &#8221;biased&#8221; toward the thread which first acquires its monitor via a monitorenter bytecode or synchronized method invocation; subsequent monitor-related operations performed by that thread are relatively much faster on multiprocessor machines. Some applications with significant amounts of uncontended synchronization may attain speedups with this flag enabled (don&#8217;t use by default, could easily slow down the multithreaded apps)<\/p>\n<p>Some performance analysis results:<br \/>\n<a href=\"http:\/\/forums.java.net\/jive\/thread.jspa?threadID=2648&amp;tstart=0\">1.5.0_06 performance annomaly<\/a><\/p>\n<p>NOTE: It was mentioned that this flag is by default on in JDK 6.0 (but not in JDK .50).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Java &#8230; Java Tuning White Paper Java Performance Tuning Highlight for today: -XX:+UseBiasedLocking &#8211; An object is &#8221;biased&#8221; toward the thread which first acquires its monitor via a monitorenter bytecode or synchronized method invocation; subsequent monitor-related operations performed by that thread are relatively much faster on multiprocessor machines. Some applications with significant amounts of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":0,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}