On Wed, 6 Jul 2022 00:38:14 GMT, Ioi Lam <ik...@openjdk.org> wrote:

> `Forte::register_stub()` should be called only when the JVm is being 
> instrumented by Forte (aka "Oracle Developer Studio")
> 
> https://www.oracle.com/tools/developerstudio/downloads/developer-studio-jsp.html
> 
> We currently always format the name of generated stubs and call 
> `Forte::register_stub()`, which usually does nothing.
> 
> Example:
> 
> https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/sharedRuntime.cpp#L2686-L2697
> 
> To improve start-up, we should check if Forte is enabled before formatting 
> the name.
> 
> I also renamed some `#ifndef IA64` around the code that I touched.

This pull request has now been integrated.

Changeset: 3c08e6b3
Author:    Ioi Lam <ik...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/3c08e6b311121e05e30b88c0e325317f364ef15d
Stats:     37 lines in 5 files changed: 18 ins; 3 del; 16 mod

8289780: Avoid formatting stub names when Forte is not enabled

Reviewed-by: dholmes, coleenp, sspitsyn

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

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

Reply via email to