Telemetry needs to take periodic stack samples by stack-walking MethodFrames. Existing native stubs do not generate and link a MethodFrame instance, so those calls are invisible.
Created attachment 594339 [details] [diff] [review] Telemetry based sampler implementation Patch includes all the code needed for the new sampler implementation in the VM. Note that this sampler relies on a telemetry implementation (using the ITelemetry interface). All the relevant code is wrapped in the VMCFG_TELEMETRY_SAMPLER flag, which is controlled by AVMFEATURE_TELEMETRY_SAMPLER. The main sampler class is in the existing Sampler.cpp/.h files, in hopes that eventually it can just replace the existing sampler.
The attachment is for bug 724139 but also includes the fix for this bug as part of larger changes.
Created attachment 596745 [details] [diff] [review] Native gen script changes Updated patch to only include changes needed for this bug. This change is also part of the larger changes for bug 724139.
Comment on attachment 596745 [details] [diff] [review] Native gen script changes Removing myself from review since this patch has been reviewed in another bug.
Comment on attachment 596745 [details] [diff] [review] Native gen script changes Dropping SR? since patch is obsolete