This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
My application is a producer-consumer problem; where the producer is a thread fetching heavy data from the db and the consumer is another thread calculating the data from a queue placed by the producer.
Question: How can I ensure (or at least check/view) that the JVM is utilizing the processorS and not only one?
Also, is it the JVM 'problem' to assign the thread the processor 1 or 2 or can I (the developer) intervene.