Week in Review – 27 June 2009

Information

  • · analysis 102: A good design is mandatory if you want good performance.
    By mx
    “The First Rule of Program Optimization: Don’t do it. The Second Rule of Program Optimization (for experts only!): Don’t do it yet.” Michael A. Jackson I think the problem stems from a question of value. Developers still see code that runs This code takes less then 1 ms to execute (printed difference is ZERO)… on my fairly powerful laptop with Java 6. If I up the array size to 1000, it takes 31 ms… I had to up the array size to 1000 to up the time taken to 31 ms.
  • · InfoQ: Google Calls for a Joint Effort to Speed Up the Internet
    By Abel Avram
    Google shares research data, web site speed optimization tutorials, recorded presentations, links to lots of performance optimization tools, and a discussion group inviting everyone to share ideas on how to make the web faster.

Tools

How To

Posted under Performance, Week in Review

This post was written by robert.casto on June 27, 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: , , , ,