This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Concurrency supported by all multicore? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Concurrency supported by all multicore?" Watch "Concurrency supported by all multicore?" New topic
Author

Concurrency supported by all multicore?

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 662

"On a single processor, multithreading generally occurs by time-division multiplexing (as in multitasking): the processor switches between different threads. This context switching generally happens frequently enough that the user perceives the threads or tasks as running at the same time. On a multiprocessor or multi-core system, the threads or tasks will actually run at the same time, with each processor or core running a particular thread or task."
external source

Does anyone have a research paper indicating processors which support or might not support concurrency?
Is concurrency supported by ALL multicore processors?
What vendor-specific (e.g. Intel, AMD) features would a systems programmer confirm with the processor documentation to ensure that it is supported?



Jon
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 4094
    
  18

Concurrency isn't "supported" by any processor. Concurrency is the logical consequence of using multiple processors. For a single processor concurrency can be mimicked by software.


The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 662

Stephan van Hulst wrote:Concurrency isn't "supported" by any processor. Concurrency is the logical consequence of using multiple processors. For a single processor concurrency can be mimicked by software.


Concurrency is a software feature coded in Java that uses threads, which I think must be supported by the processor, am I right?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
No. Concurrency in the JVM is possible on single-core, single-CPU machines.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Concurrency supported by all multicore?
 
It's not a secret anymore!