On 04/10/2018 10:21 PM, Magnus Ihse Bursie wrote:
> So you want to have a way to force -O0 for all compiled files? Something 
> like "bash configure --with-debug-level=release 
> --with-optimization=none", or possibly "make OPTIMIZATION=NONE"?
> 
> Or are you happy with the optimization level of a slowdebug build, and 
> only want to adjust the value of PRODUCT and ASSERT for hotspot to match 
> what's done for a release build? Something like "bash configure 
> --enable-hotspot-product-build"?

I tell you what would be super cool: a way to turn off all of the JIT-
generated assertion code without also turning off ASSERT.  Then you could
read the JIT-generated code in a debug build.  I guess it would be no
more than a matter of finding every #ifdef ASSERT and replacing it with
ASM_ASSERT or somesuch,

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

Reply via email to