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

Tobias Hartmann thartmann at openjdk.java.net
Thu Dec 2 13:39:29 UTC 2021


On Thu, 2 Dec 2021 13:05:42 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.

@vnkozlov do you remember?

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

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


More information about the hotspot-compiler-dev mailing list