Handling of DTraceMethodProbes

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Nov 21 17:09:46 UTC 2023


CCing to serviceability group.

Do we still support dtrace?

Thanks,
Vladimir K

On 11/21/23 4:34 AM, Thomas Stüfe wrote:
> Hi,
> 
> It seems that the handling of DTraceMethodProbes is inconsistent: in most places, we handle the flag at runtime by 
> generating code that uses conditional jumps. In one place (C1), we don't. There, generation is conditional on 
> DTraceMethodProbes at compile time.
> 
> The former looks like it is possible for the value of DTraceMethodProbes to change at runtime, and that generated code 
> should be able to react seamlessly. However, DTraceMethodProbes is not a manageable flag.
> 
> Which side is right? Do we need to emit conditional jumps, but if so, why not in C1?
> 
> Thanks, Thomas


More information about the hotspot-compiler-dev mailing list