LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-28-2019, 09:45 PM   #1
Yuc
Member
 
Registered: Nov 2018
Posts: 38

Rep: Reputation: Disabled
How many processors does The Java Virtual Machine have


I want to make a clear understand the Java Memory Model. So I serch it on the Internet.
Then comes a post(http://www.cs.umd.edu/~pugh/java/mem...r-133-faq.html).

Because I had some Java code experiences and I know Java is a build-in multithread language.

So I had thought Java Memory Model is used to make some rules on the multithreads before I read this post.

But It begins to confuse me at the very beginning of the first paragraph. The author begins it talking with the multiprocessor systems.

So does author means that there are also multi-virtual-processor in JVM?

Dose a JVM has multiprocessor?
 
Old 03-01-2019, 12:41 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,013

Rep: Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340Reputation: 7340
the link you posted does not work. Please try to fix it.
jvm itself has no processor, it will use the CPUs of the system. And yes, it can use one or more CPUs,
 
Old 03-01-2019, 01:23 AM   #3
Yuc
Member
 
Registered: Nov 2018
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
the link you posted does not work. Please try to fix it.
jvm itself has no processor, it will use the CPUs of the system. And yes, it can use one or more CPUs,
this one works
http://www.cs.umd.edu/~pugh/java/mem...r-133-faq.html


I don't think the java memory model has much relationship with the multiprocessor. cause at any instance the JVM(just a running process of a program) with its all threads is running on one processor. If we must take multiprocessor in consideration it's much like we are talking about communication between processes not threads running in JVM.
I don't know whether I am right.

Last edited by Yuc; 03-01-2019 at 02:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt about physcial processors and logical processors umeshgupta1987 Solaris / OpenSolaris 5 08-10-2011 03:17 PM
ubuntu 8.04 and have the smp runing how many processors should i see lpronovost Linux - Hardware 3 07-20-2011 05:12 PM
I have too many processors... apparantly hcclnoodles Linux - Hardware 8 01-20-2005 03:12 PM
how many disks does my system have and how mcuh space does each have? mbhenry Linux - Newbie 10 10-24-2003 06:40 PM
Will Linux Support Amd Processors And Other Than Intel Processors? halovivek Linux - Hardware 6 09-02-2003 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration