mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
fix stopTrackingHeapObjects taking long time to finish
Issue: #I624YG Signed-off-by: Gymee <yumeijie@huawei.com> Change-Id: I158ea2914bfdbf49f3225eced88e3ce0e46816cc
This commit is contained in:
parent
c334cc5f9c
commit
809de3e457
@ -65,6 +65,7 @@ public:
|
||||
void BytecodePcChangedEvent(JSThread *thread, Method *method, uint32_t bcOffset) const
|
||||
{
|
||||
if (UNLIKELY(listener_ != nullptr)) {
|
||||
[[maybe_unused]] EcmaHandleScope handleScope(thread);
|
||||
JSHandle<Method> methodHandle(thread, method);
|
||||
listener_->BytecodePcChanged(thread, methodHandle, bcOffset);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user