I noticed the -O flag of the javac compiler. What are the optimizations that the javac usually does? Which ones are activated by the -O flag? I tried the -O flag in my n-body distributed computing java application, but the performance was worse than without the -O flag. --- Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at University of Pisa - Italy - E-mail: [EMAIL PROTECTED] My home page: http://www.cli.di.unipi.it/~controzz/intro.html Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group). Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of... +-------------------------------------------------------------+ | . * . | | . __ . . | | oq | po _ _ | | / #==>>>==# ,-' (_)\ | | | ,-|~\\ ///_ ,() ,_____} | | | |/|~]]] /// ,-~' .,~ / \| . | | |\_|_|_\_\~~----~~' \ ( /| . | | . /~ \___/ [m] \ \__// | | _bo..__ // `-,.~~ | | _-~ 0000000000000ooooo.__ ( . | | \ 000000000000000000000000o . | | . (_)0000000000000000000000 | | . \~~~*,,,* ~000000000000000000 | | ~0000000000000 . | | ~~~---~~ | | .* | +-------------------------------------------------------------+