On Software Development

software development and management

Friday, June 12, 2009

Java update 6.14 and compressed Oops

From the release notes:

Compressed Object Pointers

The -XX:+UseCompressedOops option can improve performance of the 64-bit JRE when the Java object heap is less than 32 gigabytes in size. In this case, HotSpot compresses object references to 32 bits, reducing the amount of data that it must process.
(from: http://java.sun.com/javase/6/webnotes/6u14.html)

This gives a huge boost for memory-intensive applications.
Take for example an application which heavily uses tree-maps.
Tree element: pointer to next + pointer to previos + pointer to key + pointer to value (+ some housekeeping bytes).
4 x64 bit pointers which can become 32 bits now.

It won`t reduce the memory footprint to half , but it can give you an incredible boost. so ... (-XX:+) UseCompressedOoops.


at 6:17 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Contributors

  • AssafOnSoftware
  • assaf lehr

My Blog List

  • רברס עם פלטפורמה
    497 AI-HR
    4 days ago
  • Joel on Software
    Welcome, Prashanth!
    5 years ago

Blog Archive

  • ►  2017 (1)
    • ►  February (1)
  • ►  2016 (25)
    • ►  November (2)
    • ►  August (3)
    • ►  July (7)
    • ►  May (1)
    • ►  April (3)
    • ►  January (9)
  • ►  2015 (4)
    • ►  November (1)
    • ►  March (1)
    • ►  February (2)
  • ►  2014 (6)
    • ►  December (1)
    • ►  November (1)
    • ►  September (4)
  • ►  2013 (1)
    • ►  July (1)
  • ►  2012 (4)
    • ►  October (4)
  • ►  2011 (2)
    • ►  May (1)
    • ►  April (1)
  • ►  2010 (3)
    • ►  September (1)
    • ►  July (1)
    • ►  March (1)
  • ▼  2009 (12)
    • ►  December (1)
    • ►  November (1)
    • ►  July (1)
    • ▼  June (1)
      • Java update 6.14 and compressed Oops
    • ►  April (2)
    • ►  March (4)
    • ►  January (2)
  • ►  2008 (10)
    • ►  October (10)
Simple theme. Theme images by luoman. Powered by Blogger.