openharmony 鸿蒙 changelogs-arkts

2026-08-25 浏览 (1)

ArkTS Changelog

cl.arkcompiler.1 Change of JS OOM Exception Crash Stack Format

Access Level

Others

Reason for Change

Previously, when a JS OOM exception occurred in an application, jscrash or cppcrash was generated, which affected the OOM exception data statistics of third-party ecosystem applications.

Change Impact

This change does not require application adaptation.

Before the change: When a JS OOM exception occurs in the main thread heap of an application, a jscrash is generated. When a JS OOM exception occurs in the worker/taskpool thread heap, a cppcrash is generated. When a JS OOM exception occurs in the shared heap, a jscrash or cppcrash is generated.

After the change: A JS OOM in the main thread heap, worker/taskpool thread heap, or shared heap generates only a jscrash.

Thread HeapBeforeAfter
Main thread heapjscrashjscrash
Worker/Taskpool thread heapcppcrashjscrash
Shared heapjscrash/cppcrashjscrash

Starting API Level

API 12

Effective Version

OpenHarmony SDK 6.1.0.26

Affected APIs/Components

None

Adaptation Guide

This change modifies the default behavior. You need to assess whether it affects your application logic and update your code as needed.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 i18n-ui-design

openharmony 鸿蒙 i18n-sorting-local

openharmony 鸿蒙 i18n-numbers-weights-measures

openharmony 鸿蒙 i18n-l10n

openharmony 鸿蒙 i18n-preferred-language

openharmony 鸿蒙 Readme-EN

openharmony 鸿蒙 i18n-language-region-display

openharmony 鸿蒙 pseudo-i18n-testing-translation

openharmony 鸿蒙 i18n-calendar

openharmony 鸿蒙 i18n-dst-transition

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/juTkjypK