Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 43026
76
  • 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 ]
 
What's wrong? Where are you going? Stop! Read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic