Is 'optimized' a legit target?

John Rose John.Rose at Sun.COM
Sat Mar 1 22:58:38 UTC 2008


Yes, 'optimized' is legit.  It supports more flags, for tuning  
experiments, etc.
Its performance characteristics are closer to product, because
it omits all the 'assert' code,

Here are the various build subdirectories, in brief:

product -- hardwires many flag values, no asserts, code is optimized
optimized -- most flag values variable, no asserts, code is optimized
fastdebug -- all flag values variable, asserts enabled, code is  
optimized
jvmg -- all flag values variable, asserts enabled, code not optimized  
(debuggable)
generated -- machine-generated source code and other stuff created  
during the build process
debug -- old name for jvmg; this one should go away
profiled -- dead a long time; this one should have gone away years ago

Best,
-- John



More information about the build-dev mailing list