• Post Reply Bookmark Topic Watch Topic
  • New Topic

JIT compiler -server options

 
suneth desoyza
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
My computer details as follows,
32bit, 2 processors(3g), 1g ram, win XP, jdk 1.5_5

so this is not a server class machine and is client. but I set the server compiler (JVM opt as -server) for the tomcat,s jvm.

the problem is, as i know, even though i set the server compiler, this should set the client compiler (default for client compiler). BUT jconsole SHOWS that JIT compiler as SERVER. WHY it is not set back (default) to the client compiler even though the computer is client class
[ July 29, 2007: Message edited by: suneth desoyza ]
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by suneth desoyza:

the problem is, as i know, even though i set the server compiler, this should set the client compiler (default for client compiler).


Where do you get that from?
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think that I have understood the question completely.
server , client are runtime parameters , not compile time parameters.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are referring to the "-client" and "-server" parameters of "java", then those don't seem to influence the "java.vm.name" system property (at least on my machine they don't - it's always " Java HotSpot(TM) Client VM"). But they do influence the "java.vm.info" property.
 
suneth desoyza
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for replying,

this means that if i set the jit compiler, "java.vm.info" property is changed and not the "java.vm.name".

but does this give the wrong information in jconsole?
[ July 30, 2007: Message edited by: suneth desoyza ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!