slowproduct build

Ioi Lam ioi.lam at
Tue Apr 10 00:00:41 UTC 2018

Sometimes I want to debug the product build (I can't bother with turning 
off all the trueInDebug options in the hotspot globals.hpp). The only 
way that I have found to do this is:

     configure --with-native-debug-symbols=internal
     mv spec.gmk spec.gmk.old
     cat spec.gmk | sed -e 's/[-]O[0-9s]/-O0/g' > spec.gmk

Is there (or should there be) a more elegant way to do it, like 
"configure --with-debug-level=slowproduct" :-)

- Ioi

More information about the build-dev mailing list