Commit Graph

3 Commits

Author SHA1 Message Date
Hailiang Hu
caea39d90b Load ai support worker and taskpool
1. share an dir and enable flag on AnFileDataManager, VMs will use.
2. load ai by abc name on GenerateProgram for worker, if not loaded.
3. load ai by abc name on InitForConcurrentFunction for taskpool, if not loaded.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6C36B

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I8e087fc8d6a8e17cfe9500855faf5640c0acb446
2023-02-03 10:27:16 +08:00
xujie
d0082cf752 solve the issue of ai file sharing
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I68PR1

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ia14ef74684cef7f38e1fd498091a972242f8dd56
2023-01-09 19:41:52 +08:00
Hailiang Hu
8aff571306 aot support multi hap in one vm
1. store map table of an file name, as to find an file index.
2. load aot file after hap package extracted, before LoadJsModule.
3. update runtest tool, support pack of hap by module name read from module.json.
4. update runtest tool, simplify PGO with builtin types compiling command.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I64R18

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I6619dd39f1b8efe41accee74276d9e9102bd0f07
2022-12-10 16:33:05 +08:00