RFR: 8340792: -XX:+PrintInterpreter: instructions should only be printed if printing all InterpreterCodelets
Coleen Phillimore
coleenp at openjdk.org
Tue Oct 1 15:01:37 UTC 2024
On Tue, 24 Sep 2024 13:37:18 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
> With `-XX:+PrintInterpreter` the instructions of the generated interpreter are printed at startup.
>
> But also after startup when printing an interpreted frame the instructions of the corresponding `InterpreterCodelet` are also printed. This can become a problem with `-Xlog:continuations=trace` because large sections of the interpreter are printed repeatedly and redundantly.
>
> With this change the instructions are only printed when printing all codelets, i.e. normally once at start-up.
>
> I've tested with the reproducer from the JBS-Issue.
Looks fine.
-------------
Marked as reviewed by coleenp (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/21158#pullrequestreview-2340628678
More information about the hotspot-compiler-dev
mailing list