RFR: 8278079: C2: expand_dtrace_alloc_probe doesn't take effect in macro.cpp

Denghui Dong ddong at openjdk.java.net
Thu Dec 2 13:08:23 UTC 2021


On Wed, 1 Dec 2021 15:41:07 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> Hi,
> 
> Could I have a review of this small fix that makes expand_dtrace_alloc_probe take effect?
> 
> Thanks,
> Denghui

src/hotspot/share/opto/macro.cpp line 1245:

> 1243:   }
> 1244: 
> 1245:   if (C->env()->dtrace_alloc_probes() ||

This check was introduced in JDK-6788527.
I'm not very clear about the root cause.

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

PR: https://git.openjdk.java.net/jdk/pull/6639


More information about the hotspot-compiler-dev mailing list