This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes regd the java version Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "regd the java version" Watch "regd the java version" New topic
Author

regd the java version

Vijay Kumar koganti
Ranch Hand

Joined: Jan 23, 2006
Posts: 53
Hi all,

I have two flavours of jre installed one in linux box(64 bit) and another in XP(32 bit)..below is the output of java -version. I would like to understand what is the significance of word 'sharing' which is available in windows installed VM.

XP(32 bit)
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

linux box(64 bit)
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)


Also can you please give me some pointers where to find any bugs(performance related) in the linux based VM versions.

The problem is that the application deployed on tomcat is becoming quite(ver very) slow as the number of users accessing the webapp start increasing and when it reaches 8 users it takes lot of time to service the request and also cpu utilization is 60 -100 % . I have started analyzing the problems, and any pointers would be greatly appreciated btw i came to know that tomcat they were using in production doesn't have any changes made in configuration other than heap size(rest all are defaults that comes when downloaded).

regards,
vijay


vijay kumar k.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14685
    
  16

The word "sharing" refers to Class Data Sharing. You'll find some information here.


[My Blog]
All roads lead to JavaRanch
Aaron Liu
Greenhorn

Joined: Apr 16, 2010
Posts: 15
you can use visualVm and jconsole to monitor the remote vm state.
cpu, memory, thread, dead lock and etc. I hope it's useful for you.
Vijay Kumar koganti
Ranch Hand

Joined: Jan 23, 2006
Posts: 53
Christophe Verré wrote:The word "sharing" refers to Class Data Sharing. You'll find some information here.


thanks .. i have started using the yourkit with eval key to find out whats wrong
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: regd the java version
 
Similar Threads
How to check the jdk bit version (32bit or 64 bit)
Is sun's JVM 64 bit?
Multi CPU configuration for a webapplication deployed on tomcat
if (false == true) Universe.end(42);
Unsupported major.minor version 50.0