J
Jan Burse
Jan said:I guess Larry will give me some money, when he sees that
with the new setSize() his servers will be more green. There
should be a market for energy efficiency nowadays.
Look see: Migrating from Vector to ArrayList is all
about energy saving. ArrayList does not use synchronized,
therefore it does use less CPU. But in my case the
migration is not perfect, since setSize() is missing.
Migrating Hashtable to HashMap didn't cause me any pain
so far. I saw the following speed-up and thus
energy saveing in some sense:
32-bit JDK Synchronized: 12'898 ms (*)
32-bit JDK Un-Schronized: 12'438 ms
64-bit JDK Synchronized: 7'769 ms
64-bit JDK Un-Synchronized: 7'308 ms
Now I am in the progress of migrating the Vectors to
ArrayList. But because ArrayList is mindlessly lacking
setSize() I am stuck. The bug report shows that I
am not the only one who has experienced this problem
so far.
Oracle is probably less pronounced in being green
compared to IBM. IBM does it under the cover of
its smarter planet initiative.
http://www.eweek.com/c/a/IT-Infrastructure/5-Steps-to-Green-IT/
For oracle I found also something:
http://www.oracle.com/us/products/applications/green/061929.html
Best Regards
(*)
http://www.facebook.com/photo.php?fbid=177557452312810