openharmony 鸿蒙 changelogs-arkts

2026-08-25 浏览 (1)

ArkTS子系统Changelog

cl.arkts.1 JSVM Wasm解释器特性使能

访问级别

公开接口

变更原因

生态需求,支持jitless条件下执行wasm能力,支撑坚盾守护模式下特效/直播等业务场景。

变更影响

JSVM wasm相关接口补充jitless下默认行为,从直接返回错误码变更为wasm解释器运行。

起始 API Level

12

变更发生版本

从OpenHarmony SDK 7.0.0.24开始。

变更的接口/组件

ArkTS/JSVM

适配指导

行为变更:

接口名称--jitless 原行为--jitless 目标行为
OH_JSVM_CompileWasmModule返回错误码 JSVM_JIT_MODE_EXPECTED,并设置JSVM异常WasmCache不生效,其他行为与JIT模式一致
OH_JSVM_CompileWasmFunction返回错误码 JSVM_JIT_MODE_EXPECTED,并设置JSVM异常直接返回JSVM_OK(解释执行不依赖当前接口)
OH_JSVM_CreateWasmCache返回错误码 JSVM_JIT_MODE_EXPECTED,并设置JSVM异常直接返回JSVM_OK,并将WasmCache置为空

你可能感兴趣的鸿蒙文章

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/agQPIUHJ