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

Denghui Dong ddong at openjdk.java.net
Fri Dec 3 02:40:18 UTC 2021


On Thu, 2 Dec 2021 19:37:10 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> How it is tested?

I currently only do a simple manual test, adding a print statement in SharedRuntime::dtrace_object_alloc(Thread* thread, oopDesc* o), this method is currently only used by c2.

And run with `java -XX:+DTraceAllocProbes -Xcomp -version` or `java -XX:+ExtendedDTraceProbes -Xcomp -version`,

without this fix, the print statement is never hit.

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

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


More information about the hotspot-compiler-dev mailing list