On Wed, 12 Feb 2025 08:59:32 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> This is what I get with HIGH , on Linux x86_64 (gcc 11.3 used)
> 
> du -sh images/jdk/lib/libjdwp.* 2.0M images/jdk/lib/libjdwp.debuginfo 316K 
> images/jdk/lib/libjdwp.so

So it's about a 5% footprint increase to go from LOW to HIGH, and about a 10% 
footprint savings to go from LOW to SIZE. What specific gcc -O flag do each of 
these map to? I figure SIZE == -Os, HIGH == -O3. Not sure about LOW, but if it 
is -O1, then -Os will probably give a performance increase since it is -O2 
minus some code bloat optimizations and plus some code size optimizations.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23563#issuecomment-2655251215

Reply via email to