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  
  1) java -Xrs  2) ...  3) performance inc  (Read 1400 times)
0 Members and 2 Guests are viewing this topic.
Offline duncanIdaho

Jr. Member
**

Posts: 62


invert mouse


« on: 2003-11-19 16:20:00 »

In the last couple months I've been playing with the VM flags a bit and I'm curious if anyone has seen any performance increases by using the -Xrs flag.

1  
2  
3  
from Java in a Nutshell:

-Xrs  Requests that the interpreter use fewer operating system signals.  This option may improve performance on some systems.

I'm also curious as to which operating signals are safe to ignore.

cheers
Offline duncanIdaho

Jr. Member
**

Posts: 62


invert mouse


« Reply #1 on: 2003-11-21 17:40:26 »

Some days it's obvious I've been out of school too long.  The signals refered to in my previous post are things like SIGINT and SIGTERM - messages from the operating system that you are about to get killed by a ctrl-C.  There are plenty of others as well, but I have no idea what they mean.

http://www.javaspecialists.co.za/archive/Issue043.html
"As far as I know, the -Xrs option is there to make it easier to write services in Java"

oh word?  In any case, reading the above webpage will quickly show you how to catch ctrl-C and ignore it, OR run your clean up code and exit.

http://www-106.ibm.com/developerworks/ibm/library/i-signalhandling/
"any application signal handler will slow the JVM."

I suppose by shutting off the signals, you get the rumored performance increase Huh
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.074 seconds with 18 queries.