If code has never been testing in a dual CPU machine before, new bugs may surface from the more complex interactions between the threads, but so long as you have done your locks correctly, everything just works.
To find out how many CPUs you have in Java version 1.4 or later you can use java.lang.Runtime.availableProcessors()
In earlier versions you could examine the windows SET environment variable NUMBER_OF_PROCESSORS
Sun tested Java spreadsheet engine project I worked on using a machine with 256 CPU s and boy did it fly! No code changes were need from running in on a desktop machine.
This page is posted
Optional Replicator mirror
Please read the feedback from other visitors, or send your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Your face IP:[220.127.116.11]
You are visitor number|