Open
Add JSVM trigger_gc API [draft] #181
Add JSVM trigger_gc API [draft] #181
Open
chenwendi4Add on Sep 8
Sep 8

一、内容说明(相关的Issue)

https://gitcode.com/openharmony/arkcompiler_jsvm/issues/159

二、建议测试周期和提测地址

建议测试完成时间:xxxx.xx.xx
投产上线时间:xxxx.xx.xx
提测地址:CI环境/压测环境
测试账号:

三、变更内容

  • 3.1 关联PR列表

  • 3.2 数据库和部署说明

    1. 常规更新
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:bundle exec xxx RAILS_ENV = production;没有写 "无"
  • 3.4 其他技术优化内容(做了什么,变更了什么)

    • 重构了 xxxx 代码
    • xxxx 算法优化
  • 3.5 废弃通知(什么字段、方法弃用?)

  • 3.6 后向不兼容变更(是否有无法向后兼容的变更?)

四、研发自测点(自测哪些?冒烟用例全部自测?)

自测测试结论:

五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)

检查点:

需求名称 是否影响xx公共模块 是否需要xx功能 需求升级是否依赖其他子产品
xxx 否 需要 不需要

接口测试:

性能测试:

并发测试:

其他:

likedislike
Merge blocked
Cchenwendi4
Sep 8 Associated issue: [Bug]: Add JSVM trigger_gc API
openharmony_ciopenharmony_ciCollaborators
Sep 8 Added label: waiting_on_author
openharmony_ci
openharmony_ciCollaborators
Sep 8 Comments:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 8 Added label: dco检查成功
Cchenwendi4
Sep 8 Force-pushed 1 commits:0b61ae5c-Add JSVM trigger_gc API
openharmony_ci
openharmony_ciCollaborators
Sep 8 Comments:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
Cchenwendi4
Sep 18 Force-pushed 5 commits:fbb93839-4 commits from branch master,744b72dd-Add JSVM trigger_gc API
chenwendi4
Sep 18 Comments:

start build

likedislike
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

首次触发
门禁构建开始,包含静态检查、代码编译【x86_64_virt编译, master_inner_build编译, ohos-sdk编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6aac918264650f998b17cec6/runlist

likedislike
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 18 Added label: 静态检查失败
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6aac918264650f998b17cec6/runlist

静态检查:

# check type result report
1 codeCheck noPass >>>

编译测试:
# Device build result package
1 ohos-sdk pending NA
2 master_inner_build pending NA
3 x86_64_virt pending NA

likedislike
chenwendi4
Sep 18 Comments:

start build

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 18 Removed label: 静态检查失败
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

部分构建失败,仅触发失败构建
门禁构建开始,包含静态检查、代码编译【master_inner_build编译, ohos-sdk编译, x86_64_virt编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6aacb4ed64650f998b27c425/runlist

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 18 Added label: 静态检查成功
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6aacb4ed64650f998b27c425/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos-sdk success >>>
2 master_inner_build failed(联合门禁失败) >>>
3 x86_64_virt success >>>

likedislike
chenwendi4
Sep 18 Comments:

restart build

likedislike
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

上次构建已结束

likedislike
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

部分构建失败,仅触发失败构建
门禁构建开始,包含代码编译【master_inner_build编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6aacec7464650f998b3d086d/runlist

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 18 Added label: 编译成功
openharmony_ciopenharmony_ciCollaborators
Sep 18 Test passed
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6aacec7464650f998b3d086d/runlist

# Device build result package
1 master_inner_build success >>>

likedislike
openharmony_ciopenharmony_ciCollaborators
Sep 18 Removed label: waiting_on_author
openharmony_ciopenharmony_ciCollaborators
Sep 18 Added label: waiting_for_review
openharmony_ci
openharmony_ciCollaborators
Sep 18 Comments:

您好,Committer @knightaoko @mschen7 @jeff_liuwenbin ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @knightaoko @mschen7 @jeff_liuwenbin . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
Cchenwendi4
Oct 8 Change title to "Add JSVM trigger_gc API [draft]", originally titled "Add JSVM trigger_gc API".
liyiming13
liyiming137 days agoStart code review1
src/dfx/jsvm_hidump.cpp
@@ -74,0 +73,4 @@
73+std::vector<std::pair<uint32_t, v8::Isolate*>> IsolateRegistry::GetAllIsolates()
74+{
75+ std::lock_guard<std::mutex> lock(mutex_);
76+ std::vector<std::pair<uint32_t, v8::Isolate*>> result;
liyiming13
liyiming137 days agoComments:

ok

likedislike
liyiming13liyiming13
7 days ago Resolved final issue