Week in Review – 8 August 2009

How To

  • Java Tips: Optimizing your Map loop | satukubik
    By Nanda Firdausi
    From my tests, I observe that the performance of the first template depends on the backing object. If we are using HashMap, the performance is less or more the same as the second template. If we are using Hashtable, the performance of

Java

Posted under Java Virtual Machine, Performance, Sun, Week in Review

This post was written by robert.casto on August 8, 2009

Tags: , , , , , , ,

Week in Review – 11 July 2009

Information

  • · Glassfish Terracotta Performance?
    By msnuser168
    Then I found the reason is when The threads in SOAP UI exceeed 256. Then some request will fail with “java.net.SocketException:Connection reset”. I am wondering how to configue SUN web server 7 to get better throughput. …. Subject: Re: Glassfish Terracotta Performance? [Up]. ari ophanim. Joined: 05/24/2006 14:23:21. Messages: 629. Location: San Francisco, CA Offline, Not sure I understand this at all. Sorry, but can you explain more about your test and environment?
  • · Java Logger Memory Leaks
    By Aviad
    Code, Performance Add comments. Recently we switched from Log4J to the java.util.logger package (for this entry it will be called the “Java Logger”). Why, you might wonder, and I don’t have a good reason to give other than the illusion
  • · Java Performance blog: Eclipse Memory Analyzer, 10 useful tips
    By Markus Kohler
    Java Performance blog. This is my blog about Java performance related topics. Thursday, July 09, 2009. Eclipse Memory Analyzer, 10 useful tips/articles. The Eclipse Memory Analyzer has been shipped with Eclipse 3.5 Galileo and I planned

How To

  • · Generating Dump Java Data Files
    Watching the Watchers.org – USA
    by panoskrt Recently I have been running some disk I/O benchmarks, among others, with Java. I needed to check I/O operations performance with plain data


Blog

Book

Posted under Java Virtual Machine, Technology, Week in Review

This post was written by robert.casto on July 11, 2009

Tags: , , , , , ,

Java SE 6 Update 14 Performance Improvements – One Not Free

Java SE 6 Update 14 Performance Improvements – One Not Free

Sun has just released Java SE 6 Update 14 with some great performance improvements.

  • Optimization Using Escape Analysis : [-XX:+DoEscapeAnalysis]
    HotSpot will look for objects that are created and reference by a single thread and omit allocation treating them like local variables.
  • Compressed Object Pointers : [-XX:+UseCompressedOops]
    Improves 64-bit JRE performance by compressing object references to 32 bits when the object heap is less than 32 GB.
  • Garbage First (G1) Garbage Collector : [-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC]
    A low pause, server style collector that is more predictable.
  • Improved TreeMap Iteration : [-XX:+AggressiveOpts]
    Improved iteration for frequent passes over TreeMaps when the option is turned on.

Release notes indicate though that to use the G1 garbage collector in production, a Java support contract must have been purchased. I guess Oracle is starting to make its mark on Sun.

Posted under Java Virtual Machine, Performance, Sun, Update

This post was written by robert.casto on May 29, 2009

Tags: , , , ,