Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  -Xcomp  (Read 1024 times)
0 Members and 2 Guests are viewing this topic.
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« on: 2003-12-23 16:18:22 »

Just reading some stuff over at TopCoder..
http://www.topcoder.com/rtables/viewThread.jsp?forum=64101&thread=232826&mc=27

and came across this statement:

Quote
From the conversations I've read on -Xcomp - it's pretty much like running a C++ program - you have a static compile up front and run the resulting code (it will NOT attempt any further enhancements nor back-out of bad guesses).


Which led me to ponder...  Does -Xcomp inline anything?  Can methods be inlined later during the run if you use -Xcomp.  

Which comes down to: Is -Xcomp a valid way to benchmark or is it going to give you something too different from what you would get with a 'warmed up' mixed mode run?

Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #1 on: 2003-12-24 11:59:31 »

He's completely wrong.

All -Xcomp does is reduce the Hotspot threshold for compilation to 0 (compile each method immediately.)

Otherwise ist just like any other compilation Hotspot does.

Moral: Don't believe everything you read, especially on the web.  (see definition below)

Def:  The World Wide Web
The greatest medium ever developed to allow those who know nothing to inform those who know less...   Wink


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #2 on: 2003-12-24 20:02:26 »

I did doubt the accuracy of that info, which is why I brought it up here... we all know that this side of the web is 100% accurate  Wink

Games published by our own members! Go get 'em!
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #3 on: 2003-12-24 20:09:10 »

Well 98.6% accurate...

I'm wrong every so often.  And I like to think that, once its proven, I'm man enough to accept it Smiley

But here I'm very very sure he's wrong. Smiley

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.059 seconds with 19 queries.