Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / May 2006

Tip: Looking for answers? Try searching our database.

Disabling hotspot/optimisations

Thread view: 
nobrow - 16 May 2006 17:43 GMT
Is it possible to disable runtime optimisations (inlining, compilation,
and whatever else goes on) on modern *sun* JVMs (>= 1.4)? -classic has
been gone since 1.4 so how does one disable hotspot these days? -Xint
isnt quite the same thing ... is it?

Thanks.
Thomas Hawtin - 16 May 2006 17:41 GMT
> Is it possible to disable runtime optimisations (inlining, compilation,
> and whatever else goes on) on modern *sun* JVMs (>= 1.4)? -classic has
> been gone since 1.4 so how does one disable hotspot these days? -Xint
> isnt quite the same thing ... is it?

-classic made the JRE use the old JIT compiler instead of one of the new
adaptive compilers. -Xint makes the JRE not use any compilers. Modern
JREs don't have ye olde JIT compiler, so you can't have that.

There are numerous tuning options. Inlining can be switched off
altogether with -XX:-Inline. If you don't want compilation, then -Xint.
-client forces the less aggressive compiler (the default on most machines).

What are you trying to achieve?

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

nobrow - 17 May 2006 08:38 GMT
> > Is it possible to disable runtime optimisations (inlining, compilation,
> > and whatever else goes on) on modern *sun* JVMs (>= 1.4)? -classic has
[quoted text clipped - 15 lines]
> Unemployed English Java programmer
> http://jroller.com/page/tackline/

Now why didnt that come up during googling? ... A full list is at
http://java.sun.com/docs/hotspot/VMOptions.html

Thanks Tom!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.