• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JIT compiler -server options

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic