RFR: 8289780: Avoid formatting stub names when Forte is not enabled [v2]

Coleen Phillimore coleenp at openjdk.org
Fri Jul 8 18:53:48 UTC 2022


On Fri, 8 Jul 2022 18:35:38 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> If the answer to whether it's enabled is something you want to be fast, and doesn't change, maybe make it check a variable?
>
> The code in the `Forte` class, as well as the non-trivial of `AsyncGetCallTrace()` in forte.cpp, are inside `#if INCLUDE_JVMTI`. That's why I use `NOT_JVMTI_RETURN_` for the new function.

Ok, thanks for answering my question.

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

PR: https://git.openjdk.org/jdk/pull/9386


More information about the serviceability-dev mailing list