Some call sites don't pass 'size' to sharedRuntime::dtrace_object_alloc/dtrace_object_alloc_base

Denghui Dong denghui.ddh at alibaba-inc.com
Mon Oct 18 14:56:05 UTC 2021


Hi,

A new param named 'size' was added to sharedRuntime::dtrace_object_alloc/dtrace_object_alloc_base
in JDK-8039904("dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated").

But in some places where these two functions are called, this new parameter is not passed,
such as TemplateTable::_new and PhaseMacroExpand::expand_dtrace_alloc_probe.

Was it intentional or should we fix it?

Thanks,
Denghui


More information about the hotspot-runtime-dev mailing list