Handling of DTraceMethodProbes

Thomas Stüfe thomas.stuefe at gmail.com
Tue Nov 21 12:34:55 UTC 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-compiler-dev/attachments/20231121/e9c9ca84/attachment.htm>


More information about the hotspot-compiler-dev mailing list