RFR: 8328275: CodeCache::print_internals should not be called in PRODUCT code

Magnus Ihse Bursie ihse at openjdk.org
Sat Mar 16 22:34:23 UTC 2024


On Fri, 15 Mar 2024 16:12:44 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> When compiling with the default optimization level (O2), the call to print_internals is optimized away. However, when compiling with whole program optimization (GL), the optimization doesn't happen

Which, incidentally, also says something about the quality of the optimizations of /GL...

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

PR Comment: https://git.openjdk.org/jdk/pull/18330#issuecomment-2000071126


More information about the hotspot-runtime-dev mailing list