├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── gradle.xml ├── jarRepositories.xml ├── misc.xml ├── previewer │ ├── phone │ │ └── phoneSettingConfig_-1966056461.json │ └── previewConfig.json ├── superAppModuleSettings.xml └── vcs.xml ├── README.md ├── build.gradle ├── entry ├── .gitignore ├── build.gradle ├── package.json ├── proguard-rules.pro └── src │ ├── agconnect-services.json │ ├── main │ ├── config.json │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── backup │ │ │ ├── KvStoreObserverClient.java │ │ │ ├── MainAbility.java │ │ │ ├── MyApplication.java │ │ │ ├── TodoRequestParam.java │ │ │ └── TodoServiceAbility.java │ ├── js │ │ └── default │ │ │ ├── app.js │ │ │ ├── common │ │ │ └── images │ │ │ │ ├── Wallpaper.png │ │ │ │ └── bg-tv.jpg │ │ │ ├── i18n │ │ │ ├── en-US.json │ │ │ └── zh-CN.json │ │ │ └── pages │ │ │ ├── edit │ │ │ ├── edit.css │ │ │ ├── edit.hml │ │ │ └── edit.js │ │ │ └── index │ │ │ ├── index.css │ │ │ ├── index.hml │ │ │ └── index.js │ └── resources │ │ └── base │ │ ├── element │ │ └── string.json │ │ └── media │ │ └── icon.png │ └── ohosTest │ ├── js │ ├── default │ │ ├── app.js │ │ ├── i18n │ │ │ ├── en-US.json │ │ │ └── zh-CN.json │ │ └── pages │ │ │ └── index │ │ │ ├── index.css │ │ │ ├── index.hml │ │ │ └── index.js │ └── test │ │ ├── ExampleJsunit.test.js │ │ └── List.test.js │ └── resources │ └── base │ ├── element │ └── string.json │ └── media │ └── icon.png ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── hs_err_pid10640.log ├── hs_err_pid11544.log ├── hs_err_pid4072.log ├── hs_err_pid6764.log ├── hs_err_pid7036.log ├── hs_err_pid8812.log ├── replay_pid6764.log ├── replay_pid8812.log └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | /entry/.preview 15 | .cxx 16 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/previewer/phone/phoneSettingConfig_-1966056461.json: -------------------------------------------------------------------------------- 1 | { 2 | "setting": { 3 | "1.0.1": { 4 | "Language": { 5 | "args": { 6 | "Language": "zh-CN" 7 | } 8 | } 9 | } 10 | }, 11 | "frontend": { 12 | "1.0.0": { 13 | "Resolution": { 14 | "args": { 15 | "Resolution": "360*780" 16 | } 17 | }, 18 | "DeviceType": { 19 | "args": { 20 | "DeviceType": "phone" 21 | } 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /.idea/previewer/previewConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "1.0.0": { 3 | "LastPreviewDevice": { 4 | "C:\\Users\\Reticence\\DevEcoStudioProjects\\app_samples\\ability\\Backup\\entry\\.preview\\intermediates\\res\\debug": [ 5 | "phone" 6 | ] 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /.idea/superAppModuleSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | true 8 | entry 9 | 10 | 11 | 12 | 13 | true 14 | entry 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DDL Manager 2 | 这是浙江大学和华为联合授课-鸿蒙应用开发的作业。 3 | 4 | 基于JS和Java,依托harmonyOS提供的能力,完成的一个DDL管理器。 5 | 6 | 界面仿照华为自带的备忘录完成。 7 | 8 | ## 功能介绍 9 | 1. 基本的备忘录功能。 10 | 1. 标题、内容的存储。 11 | 2. 自动记录创建时间。 12 | 4. 删除、添加记录。 13 | 2. 分布式数据库,可以在多个设备协同查看和编辑。 14 | 3. DDL报警 15 | 1. DDL接近颜色高亮。开始-着急-迫近-死线。 16 | 缺省设置为1/2开始着急1/4开始迫近,1/10为死线。 17 | 2. DDL关键时间节点提醒。着急-迫近-死线。 18 | 4. 关键词搜索功能 19 | 20 | ## 软件截图 21 |  22 | 23 |  24 | 25 |  26 | 27 |  28 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | apply plugin: 'com.huawei.ohos.app' 3 | 4 | //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#ZH-CN_TOPIC_0000001154985555__section1112183053510 5 | ohos { 6 | compileSdkVersion 5 7 | defaultConfig { 8 | compatibleSdkVersion 4 9 | } 10 | } 11 | 12 | buildscript { 13 | repositories { 14 | maven { 15 | url 'https://repo.huaweicloud.com/repository/maven/' 16 | } 17 | maven { 18 | url 'https://developer.huawei.com/repo/' 19 | } 20 | jcenter() 21 | } 22 | dependencies { 23 | classpath 'com.huawei.ohos:hap:2.4.4.2' 24 | classpath 'com.huawei.ohos:decctest:1.2.4.0' 25 | } 26 | } 27 | 28 | allprojects { 29 | repositories { 30 | maven { 31 | url 'https://repo.huaweicloud.com/repository/maven/' 32 | } 33 | maven { 34 | url 'https://developer.huawei.com/repo/' 35 | } 36 | jcenter() 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /entry/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /entry/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.huawei.ohos.hap' 2 | apply plugin: 'com.huawei.ohos.decctest' 3 | //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#ZH-CN_TOPIC_0000001154985555__section1112183053510 4 | ohos { 5 | compileSdkVersion 5 6 | defaultConfig { 7 | compatibleSdkVersion 4 8 | } 9 | buildTypes { 10 | release { 11 | proguardOpt { 12 | proguardEnabled false 13 | rulesFiles 'proguard-rules.pro' 14 | } 15 | } 16 | } 17 | 18 | } 19 | 20 | dependencies { 21 | implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) 22 | testImplementation 'junit:junit:4.13' 23 | ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' 24 | } 25 | decc { 26 | supportType = ['html','xml'] 27 | } 28 | -------------------------------------------------------------------------------- /entry/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /entry/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # config module specific ProGuard rules here. -------------------------------------------------------------------------------- /entry/src/agconnect-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "agcgw_all":{ 3 | "CN":"connect-drcn.hispace.hicloud.com", 4 | "CN_back":"connect-drcn.dbankcloud.cn", 5 | "DE":"connect-dre.hispace.hicloud.com", 6 | "DE_back":"connect-dre.dbankcloud.cn", 7 | "RU":"connect-drru.hispace.hicloud.com", 8 | "RU_back":"connect-drru.dbankcloud.cn", 9 | "SG":"connect-dra.hispace.hicloud.com", 10 | "SG_back":"connect-dra.dbankcloud.cn" 11 | }, 12 | "client":{ 13 | "cp_id":"2850086000499590508", 14 | "product_id":"736430079245865650", 15 | "client_id":"672426582182212224", 16 | "client_secret":"C381CCE6D752A8409E6488F1FAE3C30E663D7C136843C0FB1A9DFD6C71168D04", 17 | "project_id":"736430079245865650", 18 | "app_id":"104530063", 19 | "api_key":"CgB6e3x9XpO1DxOOz4LIMIJq1dGOBWYPG/G9jKyW5mzSiaeoiXrIc6zKUh/RQUWq5oQlYDOXAVNkZ4MXBJW++lUD", 20 | "package_name":"com.example.backup" 21 | }, 22 | "oauth_client":{ 23 | "client_id":"104530063", 24 | "client_type":1 25 | }, 26 | "app_info":{ 27 | "app_id":"104530063", 28 | "package_name":"com.example.backup" 29 | }, 30 | "configuration_version":"3.0", 31 | "appInfos":[ 32 | { 33 | "package_name":"com.example.backup", 34 | "client":{ 35 | "app_id":"104530063" 36 | }, 37 | "app_info":{ 38 | "package_name":"com.example.backup", 39 | "app_id":"104530063" 40 | }, 41 | "oauth_client":{ 42 | "client_type":1, 43 | "client_id":"104530063" 44 | } 45 | } 46 | ] 47 | } -------------------------------------------------------------------------------- /entry/src/main/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "app": { 3 | "bundleName": "com.example.backup", 4 | "vendor": "example", 5 | "version": { 6 | "code": 1000000, 7 | "name": "1.0.0" 8 | } 9 | }, 10 | "deviceConfig": {}, 11 | "module": { 12 | "metaData": { 13 | "customizeData": [ 14 | { 15 | "name": "hwc-theme", 16 | "value": "androidhwext:style/Theme.Emui.Light.NoTitleBar" 17 | } 18 | ] 19 | }, 20 | "reqPermissions": [ 21 | { 22 | "name": "ohos.permission.DISTRIBUTED_DATASYNC", 23 | } 24 | ], 25 | "package": "com.example.backup", 26 | "name": ".MyApplication", 27 | "mainAbility": "com.example.backup.MainAbility", 28 | "deviceType": [ 29 | "phone" 30 | ], 31 | "distro": { 32 | "deliveryWithInstall": true, 33 | "moduleName": "entry", 34 | "moduleType": "entry", 35 | "installationFree": false 36 | }, 37 | "abilities": [ 38 | { 39 | "skills": [ 40 | { 41 | "entities": [ 42 | "entity.system.home" 43 | ], 44 | "actions": [ 45 | "action.system.home" 46 | ] 47 | } 48 | ], 49 | "name": "com.example.backup.MainAbility", 50 | "icon": "$media:icon", 51 | "description": "$string:mainability_description", 52 | "label": "$string:entry_MainAbility", 53 | "type": "page", 54 | "launchType": "standard" 55 | }, 56 | { 57 | "name": "com.example.backup.TodoServiceAbility", 58 | "icon": "$media:icon", 59 | "description": "$string:todoserviceability_description", 60 | "type": "service" 61 | }, 62 | ], 63 | "js": [ 64 | { 65 | "pages": [ 66 | "pages/index/index", 67 | "pages/edit/edit" 68 | ], 69 | "name": "default", 70 | "window": { 71 | "designWidth": 720, 72 | "autoDesignWidth": true 73 | } 74 | } 75 | ] 76 | } 77 | } -------------------------------------------------------------------------------- /entry/src/main/java/com/example/backup/KvStoreObserverClient.java: -------------------------------------------------------------------------------- 1 | package com.example.backup; 2 | 3 | import ohos.data.distributed.common.ChangeNotification; 4 | import ohos.data.distributed.common.Entry; 5 | import ohos.data.distributed.common.KvStoreObserver; 6 | 7 | import java.util.List; 8 | 9 | class KvStoreObserverClient implements KvStoreObserver { 10 | @Override 11 | public void onChange(ChangeNotification notification) { 12 | // List insertEntries = notification.getInsertEntries(); 13 | // List updateEntries = notification.getUpdateEntries(); 14 | // List deleteEntries = notification.getDeleteEntries(); 15 | 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /entry/src/main/java/com/example/backup/MainAbility.java: -------------------------------------------------------------------------------- 1 | package com.example.backup; 2 | 3 | import ohos.aafwk.ability.IAbilityContinuation; 4 | import ohos.ace.ability.AceAbility; 5 | import ohos.aafwk.content.Intent; 6 | import ohos.app.Context; 7 | import ohos.data.DatabaseHelper; 8 | import ohos.data.distributed.common.*; 9 | import ohos.data.distributed.device.DeviceFilterStrategy; 10 | import ohos.data.distributed.device.DeviceInfo; 11 | import ohos.data.distributed.user.SingleKvStore; 12 | import ohos.data.preferences.Preferences; 13 | import ohos.hiviewdfx.HiLog; 14 | import ohos.hiviewdfx.HiLogLabel; 15 | 16 | import java.util.ArrayList; 17 | import java.util.List; 18 | import java.util.Map; 19 | 20 | public class MainAbility extends AceAbility implements IAbilityContinuation { 21 | // static public Preferences preferences; 22 | static public String storeID = "TodoDistributeDatabase"; 23 | private SingleKvStore singleKvStore; 24 | private KvManager kvManager; 25 | private static final HiLogLabel LABEL = new HiLogLabel(HiLog.LOG_APP, 0, "MainAbility"); 26 | 27 | @Override 28 | public void onStart(Intent intent) { 29 | super.onStart(intent); 30 | HiLog.info(LABEL,"jgq onStart"); 31 | 32 | // 开发者显示声明需要使用的权限 33 | requestPermissionsFromUser(new String[]{"ohos.permission.DISTRIBUTED_DATASYNC"}, 0); 34 | Context context = this.getContext(); 35 | // DatabaseHelper databaseHelper = new DatabaseHelper(context); 36 | // String filename = "todoDB"; 37 | // preferences = databaseHelper.getPreferences(filename); 38 | 39 | // 需要注册 40 | TodoServiceAbility.register(this); 41 | // 分布式数据库,不知道是不是写在这里,注册 42 | KvManagerConfig config = new KvManagerConfig(context); 43 | kvManager = KvManagerFactory.getInstance().createKvManager(config); 44 | // 创建数据库 45 | Options CREATE = new Options(); 46 | CREATE.setCreateIfMissing(true).setEncrypt(false).setKvStoreType(KvStoreType.SINGLE_VERSION); 47 | singleKvStore = kvManager.getKvStore(CREATE, storeID); 48 | // 订阅 49 | KvStoreObserver kvStoreObserverClient = new KvStoreObserverClient(); 50 | singleKvStore.subscribe(SubscribeType.SUBSCRIBE_TYPE_ALL, kvStoreObserverClient); 51 | } 52 | 53 | public SingleKvStore getSingleKvStore() { 54 | return singleKvStore; 55 | } 56 | 57 | @Override 58 | public void onStop() { 59 | // 取消注册 60 | HiLog.info(LABEL,"jgq onStop"); 61 | TodoServiceAbility.unregister(); 62 | super.onStop(); 63 | } 64 | 65 | public void syncContact() { 66 | List deviceInfoList = kvManager.getConnectedDevicesInfo(DeviceFilterStrategy.NO_FILTER); 67 | List deviceIdList = new ArrayList<>(); 68 | for (DeviceInfo deviceInfo : deviceInfoList) { 69 | deviceIdList.add(deviceInfo.getId()); 70 | } 71 | 72 | if (deviceIdList.size() == 0) { 73 | // showTip("组网失败"); 74 | HiLog.info(LABEL,"同步失败"); 75 | return; 76 | } 77 | singleKvStore.registerSyncCallback(new SyncCallback() { 78 | @Override 79 | public void syncCompleted(Map map) { 80 | getUITaskDispatcher().asyncDispatch(new Runnable() { 81 | @Override 82 | public void run() { 83 | // queryContact(); 84 | // showTip("同步成功"); 85 | HiLog.info(LABEL,"同步成功"); 86 | } 87 | }); 88 | singleKvStore.unRegisterSyncCallback(); 89 | } 90 | }); 91 | singleKvStore.sync(deviceIdList, SyncMode.PUSH_PULL); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /entry/src/main/java/com/example/backup/MyApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.backup; 2 | 3 | import ohos.aafwk.ability.AbilityPackage; 4 | 5 | public class MyApplication extends AbilityPackage { 6 | @Override 7 | public void onInitialize() { 8 | super.onInitialize(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /entry/src/main/java/com/example/backup/TodoRequestParam.java: -------------------------------------------------------------------------------- 1 | package com.example.backup; 2 | 3 | public class TodoRequestParam { 4 | public String id; 5 | public String title; // 标题 6 | public String text; // 内容 7 | public String date; // 创建日期 8 | public String ddl; // ddl 9 | } 10 | -------------------------------------------------------------------------------- /entry/src/main/java/com/example/backup/TodoServiceAbility.java: -------------------------------------------------------------------------------- 1 | package com.example.backup; 2 | 3 | import ohos.ace.ability.AceInternalAbility; 4 | import ohos.data.distributed.common.*; 5 | import ohos.data.distributed.user.SingleKvStore; 6 | import ohos.hiviewdfx.HiLog; 7 | import ohos.hiviewdfx.HiLogLabel; 8 | import ohos.rpc.MessageOption; 9 | import ohos.rpc.MessageParcel; 10 | import ohos.utils.zson.ZSONObject; 11 | 12 | import java.lang.reflect.Array; 13 | import java.util.*; 14 | 15 | /** 16 | * AceInternalAbility Represents internal abilities that are integrated into the JS UI framework. 17 | */ 18 | public class TodoServiceAbility extends AceInternalAbility { 19 | // 常量 20 | private static final String BUNDLE_NAME = "com.example.backup"; 21 | private static final String ABILITY_NAME = "com.example.backup.TodoServiceAbility"; 22 | public static final int SUCCESS = 0; 23 | public static final int ERROR = 1; 24 | public static final int SELECT_TODOS = 1001; 25 | public static final int DELETE_TODOS = 1002; 26 | public static final int UPDATE_TODOS = 1003; 27 | public static final int INSERT_TODOS = 1004; 28 | public static final int SELECT_TODO = 1005; 29 | // 定义日志标签 30 | private static final HiLogLabel LABEL = new HiLogLabel(HiLog.LOG_APP, 0, "TodoDatabase"); 31 | // TodoServiceAbility 类的一个实例,所以从语义上他只能被初始化一次 32 | private static TodoServiceAbility instance; 33 | // Context 34 | private MainAbility abilityContext; 35 | 36 | /** 37 | * 如果多个Ability实例都需要注册当前InternalAbility实例,需要更改构造函数,设定自己的bundleName和abilityName 38 | * 但是在这里我们的InternalAbility只会实例化一次 39 | */ 40 | public TodoServiceAbility() { 41 | super(BUNDLE_NAME, ABILITY_NAME); 42 | } 43 | 44 | /** 45 | * 关键的接口,JS端携带的操作请求业务码以及业务数据,业务执行完后,返回响应给JS端。开发者需要继承RemoteObject类并重写该方法 46 | * @param code Js端发送的业务请求编码 PA端定义需要与Js端业务请求码保持一致 47 | * @param data Js端发送的MessageParcel对象,当前仅支持String格式 48 | * @param reply 将本地业务响应返回给Js端的MessageParcel对象,当前仅支持String格式 49 | * @param option 指示操作是同步还是异步的方式,但是我这里只有同步处理方式 50 | * @return 不知道有什么用 51 | */ 52 | public boolean onRemoteRequest(int code, MessageParcel data, MessageParcel reply, MessageOption option) { 53 | SingleKvStore db = abilityContext.getSingleKvStore(); 54 | 55 | Map result = new HashMap<>(); 56 | Map ret = new HashMap<>(); 57 | HiLog.debug(LABEL, "onRemoteRequest"); 58 | 59 | // 基本思路-解析code-解析data-业务逻辑-构造reply 60 | switch (code) { 61 | case DELETE_TODOS: { 62 | String dataStr = data.readString(); 63 | TodoRequestParam param = new TodoRequestParam(); 64 | try { 65 | param = ZSONObject.stringToClass(dataStr, TodoRequestParam.class); 66 | } catch (RuntimeException e) { 67 | HiLog.error(LABEL, "convert failed."); 68 | } 69 | try { 70 | db.delete(param.id + " title"); 71 | } catch (KvStoreException k){ 72 | HiLog.debug(LABEL,"no"); 73 | }; 74 | try { 75 | db.delete(param.id + " text"); 76 | } catch (KvStoreException k){ 77 | HiLog.debug(LABEL,"no"); 78 | }; 79 | try { 80 | db.delete(param.id + " date"); 81 | } catch (KvStoreException k){ 82 | HiLog.debug(LABEL,"no"); 83 | }; 84 | try { 85 | db.delete(param.id + " ddl"); 86 | } catch (KvStoreException k){ 87 | HiLog.debug(LABEL,"no"); 88 | }; 89 | HiLog.debug(LABEL, "insert or update success"); 90 | break; 91 | } 92 | case UPDATE_TODOS: 93 | case INSERT_TODOS:{ 94 | String dataStr = data.readString(); 95 | TodoRequestParam param = new TodoRequestParam(); 96 | try { 97 | param = ZSONObject.stringToClass(dataStr, TodoRequestParam.class); 98 | } catch (RuntimeException e) { 99 | HiLog.error(LABEL, "convert failed."); 100 | } 101 | if (param.title!=null) db.putString(param.id+" title",param.title); 102 | if (param.date!=null) db.putString(param.id+" date",param.date); 103 | if (param.text!=null) db.putString(param.id+" text",param.text); 104 | if (param.ddl!=null) db.putString(param.id+" ddl",param.ddl); 105 | HiLog.debug(LABEL, "insert or update success"); 106 | break; 107 | } 108 | case SELECT_TODOS:{ 109 | // 返回结果当前仅支持String,对于复杂结构可以序列化为ZSON字符串上报 110 | HiLog.debug(LABEL, "Database Return All Result"); 111 | String condition = data.readString(); 112 | HiLog.debug(LABEL, "condition="+condition); 113 | Set indexes = new HashSet<>(); 114 | for (Entry i: db.getEntries("")){ 115 | indexes.add(i.getKey().split(" ")[0]); 116 | } 117 | 118 | for (String i: indexes){ 119 | String title,date,ddl; 120 | try { 121 | title = db.getString(i+" title"); 122 | if (title.contains(condition)) 123 | result.put("title",title); 124 | else 125 | continue; 126 | } 127 | catch (KvStoreException k){ 128 | title = ""; 129 | }; 130 | try { 131 | date = db.getString(i+" date"); 132 | result.put("date",date); 133 | } 134 | catch (KvStoreException k){ 135 | date = ""; 136 | }; 137 | try { 138 | ddl = db.getString(i+" ddl"); 139 | result.put("ddl",ddl); 140 | } 141 | catch (KvStoreException k){ 142 | ddl = ""; 143 | }; 144 | // HiLog.debug(LABEL, String.valueOf(result)); 145 | String rString = ZSONObject.toZSONString(result); 146 | ret.put(i,rString); 147 | } 148 | reply.writeString(ZSONObject.toZSONString(ret)); 149 | HiLog.debug(LABEL, "select all success"); 150 | break; 151 | } 152 | case SELECT_TODO: { 153 | String dataStr = data.readString(); 154 | TodoRequestParam param = new TodoRequestParam(); 155 | try { 156 | param = ZSONObject.stringToClass(dataStr, TodoRequestParam.class); 157 | } catch (RuntimeException e) { 158 | HiLog.error(LABEL, "convert failed."); 159 | } 160 | String r; 161 | try { 162 | r = db.getString(param.id+" text"); 163 | } catch (KvStoreException k) { 164 | r = ""; 165 | } 166 | reply.writeString(r); 167 | HiLog.debug(LABEL, "select one text success"); 168 | break; 169 | } 170 | default: { 171 | HiLog.debug(LABEL, "unknown code"); 172 | return false; 173 | } 174 | }; 175 | // 分布式数据库的同步 176 | abilityContext.syncContact(); 177 | return true; 178 | } 179 | 180 | /** 181 | * Internal ability 注册接口 182 | */ 183 | public static void register(MainAbility abilityContext) { 184 | instance = new TodoServiceAbility(); 185 | instance.onRegister(abilityContext); 186 | } 187 | 188 | private void onRegister(MainAbility abilityContext) { 189 | this.abilityContext = abilityContext; 190 | this.setInternalAbilityHandler(this::onRemoteRequest); 191 | HiLog.info(LABEL, "jgq TodoServiceAbility onRegister"); 192 | } 193 | 194 | /** 195 | * Internal ability 注销接口。 196 | */ 197 | public static void unregister() { 198 | instance.onUnregister(); 199 | } 200 | 201 | private void onUnregister() { 202 | abilityContext = null; 203 | this.setInternalAbilityHandler(null); 204 | HiLog.info(LABEL, "jgq TodoServiceAbility onUnregister"); 205 | } 206 | } -------------------------------------------------------------------------------- /entry/src/main/js/default/app.js: -------------------------------------------------------------------------------- 1 | export default { 2 | onCreate() { 3 | console.info('AceApplication onCreate'); 4 | }, 5 | onDestroy() { 6 | console.info('AceApplication onDestroy'); 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /entry/src/main/js/default/common/images/Wallpaper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/entry/src/main/js/default/common/images/Wallpaper.png -------------------------------------------------------------------------------- /entry/src/main/js/default/common/images/bg-tv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/entry/src/main/js/default/common/images/bg-tv.jpg -------------------------------------------------------------------------------- /entry/src/main/js/default/i18n/en-US.json: -------------------------------------------------------------------------------- 1 | { 2 | "strings": { 3 | "title": "DDL Manager", 4 | "search": "search", 5 | "number": "TODOs", 6 | "ddl": "ddl", 7 | "ddl1": "It's Ok.", 8 | "ddl2": "Speed up", 9 | "ddl3": "OMG", 10 | "cancel": "cancel", 11 | "confirm": "confirm", 12 | "back": "back", 13 | "save": "save" 14 | } 15 | } -------------------------------------------------------------------------------- /entry/src/main/js/default/i18n/zh-CN.json: -------------------------------------------------------------------------------- 1 | { 2 | "strings": { 3 | "title": "DDL管理器", 4 | "search": "搜索", 5 | "number": "个代办事项", 6 | "ddl": "截止日期", 7 | "ddl1": "还能接受", 8 | "ddl2": "该抓紧了", 9 | "ddl3": "人之将死", 10 | "cancel": "取消", 11 | "confirm": "确定", 12 | "back": "返回", 13 | "save": "保存" 14 | } 15 | } -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/edit/edit.css: -------------------------------------------------------------------------------- 1 | .container { 2 | flex-direction: column; 3 | justify-content: center; 4 | align-items: center; /* 意思是其中的元素相對位置是中心 */ 5 | background-color: #f1f1f1; 6 | } 7 | 8 | button { 9 | background-color: #f1f1f1; 10 | margin-top: 10px; 11 | padding: 0%; 12 | font-size: 20px; 13 | text-color: black; 14 | width: 100%; 15 | height: 30px; 16 | } 17 | 18 | 19 | .content { 20 | grid-auto-flow: column; 21 | } 22 | .title { 23 | margin-top: 10px; 24 | margin-bottom: 10px; 25 | background-color: #ffffff; 26 | } 27 | 28 | .text { 29 | margin: 0px; 30 | background-color: #ffffff; 31 | height: 100%; 32 | } 33 | 34 | .addButton { 35 | width: 50px; 36 | height: 50px; 37 | border: 2px solid #bcbcbc; 38 | justify-content: space-between; 39 | margin-right: 10px; 40 | margin-bottom: 10px; 41 | border-radius: 8px; 42 | right: 6%; 43 | bottom: 5%; 44 | font-size: 40px; 45 | opacity: 0.8; 46 | position: fixed; 47 | } 48 | 49 | .inner-txt{ 50 | margin: 10px; 51 | } 52 | .dialog-div { 53 | flex-direction: column; 54 | align-items: center; 55 | } 56 | 57 | .txt { 58 | font-size: 18px; 59 | width: 120px; 60 | } 61 | .slide { 62 | padding: 0px; 63 | } 64 | 65 | picker{ 66 | font-size: 20px ; 67 | left: 50%; 68 | } 69 | 70 | -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/edit/edit.hml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ BACK }} 4 | {{ SAVE }} 5 | 6 | 7 | 8 | 9 | {{title}} 10 | 11 | 12 | 13 | {{text}} 14 | 15 | 16 | 17 | 18 | + 19 | 20 | 21 | 22 | 23 | 24 | {{ddl_text}} 25 | 26 | 27 | 28 | {{ddl1_text}} 29 | 30 | 31 | 32 | {{ddl2_text}} 33 | 34 | 35 | 36 | {{ddl3_text}} 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/edit/edit.js: -------------------------------------------------------------------------------- 1 | import router from '@system.router'; 2 | // abilityType: 0-Ability; 1-Internal Ability 3 | const ABILITY_TYPE_EXTERNAL = 0; 4 | const ABILITY_TYPE_INTERNAL = 1; 5 | // syncOption(Optional, default sync): 0-Sync; 1-Async 6 | const ACTION_SYNC = 0; 7 | const ACTION_ASYNC = 1; 8 | const ACTION_MESSAGE_SELECT_TODOS = 1001; 9 | const ACTION_MESSAGE_DELETE_TODOS = 1002; 10 | const ACTION_MESSAGE_UPDATE_TODOS = 1003; 11 | const ACTION_MESSAGE_INSERT_TODOS = 1004; 12 | const ACTION_MESSAGE_SELECT_TODO = 1005; 13 | 14 | export default { 15 | data:{ 16 | title: "", 17 | text: "", 18 | BACK: "", 19 | SAVE: "", 20 | CANCEL: "", 21 | CONFIRM: "", 22 | 23 | index: "", 24 | ddl_text: "", 25 | ddls: [1,2,3], 26 | ddl_to_pass: "", 27 | ddl: "", 28 | ddl_exist: false, 29 | content: {}, 30 | }, 31 | onInit() { 32 | this.ddl_text = this.$t('strings.ddl'); 33 | this.ddl1_text = this.$t('strings.ddl1'); 34 | this.ddl2_text = this.$t('strings.ddl2'); 35 | this.ddl3_text = this.$t('strings.ddl3'); 36 | this.BACK = this.$t('strings.back'); 37 | this.CANCEL = this.$t('strings.cancel'); 38 | this.CONFIRM = this.$t('strings.confirm'); 39 | this.SAVE = this.$t('strings.save'); 40 | }, 41 | onShow(){ 42 | console.info("edit.onShow()"); 43 | this.title = this.content.title; 44 | this.date = this.content.date; 45 | if (this.content.hasOwnProperty("ddl")) { 46 | this.ddl_exist = true; 47 | this.ddls = [50,75,90]; 48 | this.ddl = this.content.ddl; 49 | } 50 | else { 51 | this.ddl_exist = false; 52 | this.ddl = "2050/10/1"; 53 | this.ddls = [50,75,90]; 54 | } 55 | this.GetText(); 56 | console.info("ddl"+this.ddl); 57 | }, 58 | PassDdl(e){ 59 | this.ddl = e.year+"/"+(e.month+1)+"/"+e.day; 60 | }, 61 | PassDdls(id,e){ 62 | this.ddls[id] = e.value; 63 | console.info("ddls["+id+"]="+this.ddls[id]); 64 | }, 65 | PassTitle(pass_title){ 66 | this.title = pass_title.text; 67 | }, 68 | PassText(pass_text){ 69 | this.text = pass_text.text; 70 | }, 71 | ClickToBack() { 72 | console.info("ClickToBack()"); 73 | router.back(); 74 | }, 75 | AddDdl(){ 76 | this.$element('ddl_dialog').show(); 77 | }, 78 | GetToday(){ 79 | var d = new Date();//获取系统当前时间 80 | var date = d.getFullYear()+"/"+(d.getMonth()+1)+"/"+d.getDate(); 81 | return date; 82 | }, 83 | SaveDdl(){ 84 | var today = new Date(); 85 | this.ddl_to_pass = this.ddl; 86 | for (var i in this.ddls){ 87 | var ms = (Date.parse(this.ddl)-today.getTime())*this.ddls[i]/100+today.getTime(); // 距今的毫秒数 88 | var d = new Date(); 89 | d.setTime(ms); 90 | var str = ","+d.getFullYear()+"/"+(d.getMonth()+1)+"/"+d.getDate(); 91 | this.ddl_to_pass += str; 92 | } 93 | console.info("ddl_to_pass"+this.ddl_to_pass); 94 | this.ddl_exist = true; 95 | this.$element('ddl_dialog').close(); 96 | }, 97 | CancelDdl(){ 98 | this.ddl_exist = false; 99 | this.$element('ddl_dialog').close(); 100 | 101 | }, 102 | InsertTodos: async function(){ 103 | console.info("ClickToSave()"+this.index); 104 | var actionData = {}; 105 | actionData.id = this.index.toString(); 106 | actionData.title = this.title; 107 | actionData.text = this.text; 108 | actionData.date = this.GetToday(); 109 | if (this.ddl_exist) 110 | {actionData.ddl = this.ddl_to_pass;} 111 | 112 | var action = {}; 113 | action.bundleName = 'com.example.backup'; 114 | action.abilityName = 'com.example.backup.TodoServiceAbility'; 115 | action.messageCode = ACTION_MESSAGE_INSERT_TODOS; 116 | action.data = actionData; 117 | action.abilityType = ABILITY_TYPE_INTERNAL; 118 | action.syncOption = ACTION_SYNC; 119 | 120 | var result = await FeatureAbility.callAbility(action); 121 | console.info("insert ret="+result); 122 | }, 123 | GetText: async function(){ 124 | console.log("get Test of "+this.index); 125 | var actionData = {}; 126 | actionData.id = this.index; 127 | 128 | var action = {}; 129 | action.bundleName = 'com.example.backup'; 130 | action.abilityName = 'com.example.backup.TodoServiceAbility'; 131 | action.messageCode = ACTION_MESSAGE_SELECT_TODO; 132 | action.data = actionData; 133 | action.abilityType = ABILITY_TYPE_INTERNAL; 134 | action.syncOption = ACTION_SYNC; 135 | 136 | var result = await FeatureAbility.callAbility(action); 137 | this.text = result; 138 | }, 139 | } 140 | -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/index/index.css: -------------------------------------------------------------------------------- 1 | .container { 2 | flex-direction: column; 3 | justify-content: center; 4 | align-items: center; /* 意思是其中的元素相對位置是中心 */ 5 | background-color: #f1f1f1; 6 | } 7 | .search-box{ 8 | margin: 17px; 9 | } 10 | .title-box{ 11 | justify-content: center; 12 | align-items: center; 13 | flex-wrap: wrap; 14 | } 15 | 16 | .title{ 17 | margin-top: 18px; 18 | margin-left: 5px; 19 | width: 90%; 20 | font-size: 40px; 21 | } 22 | 23 | .number{ 24 | font-size: 14px; 25 | color: #555555; 26 | margin-left: 5px; 27 | width: 90%; 28 | } 29 | 30 | .todo-item { 31 | margin-left: 5%; 32 | margin-right: 5%; 33 | height: 80px; 34 | justify-content: center; 35 | background-color: #ffffff; 36 | border-radius: 10px; 37 | padding: 0px 1px; 38 | margin-bottom: 15px; 39 | flex-direction: row; 40 | } 41 | .div-item { 42 | width: 100%; 43 | flex-direction: column; 44 | margin-left: 10px; 45 | } 46 | .title-text{ 47 | margin-top: 10px; 48 | font-size: 25px; 49 | } 50 | .date-text{ 51 | font-size: 17px; 52 | color: gray; 53 | } 54 | 55 | .delete-choose { 56 | position: absolute; 57 | width: 40px; 58 | height: 40px; 59 | left: 85%; 60 | bottom: 25%; 61 | } 62 | .addButton { 63 | width: 50px; 64 | height: 50px; 65 | border: 2px solid #bcbcbc; 66 | justify-content: space-between; 67 | margin-right: 10px; 68 | margin-bottom: 10px; 69 | border-radius: 8px; 70 | right: 6%; 71 | bottom: 5%; 72 | font-size: 40px; 73 | opacity: 0.8; 74 | position: fixed; 75 | } 76 | 77 | 78 | /*@media screen and (device-type: tablet) and (orientation: landscape) {*/ 79 | /* .title {*/ 80 | /* font-size: 100px;*/ 81 | /* }*/ 82 | /*}*/ 83 | 84 | /*@media screen and (device-type: wearable) {*/ 85 | /* .title {*/ 86 | /* font-size: 28px;*/ 87 | /* color: #FFFFFF;*/ 88 | /* }*/ 89 | /*}*/ 90 | 91 | /*@media screen and (device-type: tv) {*/ 92 | /* .container {*/ 93 | /* background-image: url("../../common/images/Wallpaper.png");*/ 94 | /* background-size: cover;*/ 95 | /* background-repeat: no-repeat;*/ 96 | /* background-position: center;*/ 97 | /* }*/ 98 | 99 | /* .title {*/ 100 | /* font-size: 100px;*/ 101 | /* color: #FFFFFF;*/ 102 | /* }*/ 103 | /*}*/ 104 | 105 | /*@media screen and (device-type: phone) and (orientation: landscape) {*/ 106 | /* .title {*/ 107 | /* font-size: 60px;*/ 108 | /* }*/ 109 | /*}*/ 110 | 111 | -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/index/index.hml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ title }} 4 | {{ number }} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | {{$item.title}} 23 | 24 | DDL:{{$item.ddl}} 25 | {{$item.date}} 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | {{add_delete}} 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /entry/src/main/js/default/pages/index/index.js: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | import router from '@system.router'; 3 | // abilityType: 0-Ability; 1-Internal Ability 4 | const ABILITY_TYPE_EXTERNAL = 0; 5 | const ABILITY_TYPE_INTERNAL = 1; 6 | // syncOption(Optional, default sync): 0-Sync; 1-Async 7 | const ACTION_SYNC = 0; 8 | const ACTION_ASYNC = 1; 9 | const ACTION_MESSAGE_SELECT_TODOS = 1001; 10 | const ACTION_MESSAGE_DELETE_TODOS = 1002; 11 | const ACTION_MESSAGE_UPDATE_TODOS = 1003; 12 | const ACTION_MESSAGE_INSERT_TODOS = 1004; 13 | 14 | export default { 15 | data: { 16 | title: "", 17 | search: "", 18 | // 国际化字符串 19 | number: 0, // TODO总数 20 | add_delete: "+", // 添加按钮/删除按钮 21 | choose_delete: false, // 当为true的时候,选择删除元素 22 | choose_indexes: [], // 被选择要删除的TODO列表 23 | todoList: 24 | [ 25 | // {date: "2021/7/16",title: "Example", ddl: "2021/7/18",ddls: [20,60,70],color: 0}, 26 | // {date: "2021/10/6",title: "Example"} 27 | ], // TODO列表 index,title,date,ddl 28 | max_index: 0, 29 | }, 30 | // 初始化 31 | onInit() { 32 | this.title = this.$t('strings.title'); 33 | this.search = this.$t('strings.search'); 34 | this.number = this.todoList.length.toString() + this.$t('strings.number'); 35 | console.info("onInit"); 36 | console.info(this.textList); 37 | }, 38 | onShow: async function() { 39 | await this.getTodos(); 40 | this.number = this.todoList.length.toString() + this.$t('strings.number'); 41 | }, 42 | // 长按TODO text 可以选择删除 43 | LongPressToChoose() { 44 | this.choose_delete = true; 45 | }, 46 | // 单击TODO text 可以编辑 页面跳转 47 | ClickToEdit(x) { 48 | console.info("ClickToEdit(" + x.toString() + ")"); 49 | router.push({ 50 | uri: 'pages/edit/edit', // 指定要跳转的页面 51 | params: { 52 | index: this.todoList[x].index, 53 | content: this.todoList[x] 54 | } 55 | }); 56 | }, 57 | // 单击按钮 添加/删除 58 | AddOrDelete() { 59 | if (this.choose_delete == false) { 60 | router.push({ 61 | uri: 'pages/edit/edit', // 指定要跳转的页面 记得在config中注册路由 62 | params: { 63 | index: this.max_index, 64 | content: {ddls:[50,75,90],ddl:"2050/10/1",date: "",title: ""} 65 | } 66 | }); 67 | this.max_index++; 68 | } 69 | else { 70 | // 删除 71 | this.deleteTodos(); 72 | this.choose_indexes = []; 73 | } 74 | this.choose_delete = false; 75 | this.add_delete = "+"; 76 | }, 77 | // 选择删除的TODO 78 | ChooseToDelete(value, e) { 79 | console.info("ClickToDelete" + e.checked.toString()); 80 | if (e.checked) { 81 | this.add_delete = "-"; 82 | this.choose_indexes.push(value); 83 | console.info("indexes: " + this.choose_indexes.toString()); 84 | } 85 | else { 86 | this.choose_indexes.splice(this.choose_indexes.indexOf(value), 1); 87 | console.info("indexes: " + this.choose_indexes.toString()); 88 | } 89 | ; 90 | 91 | if (this.choose_indexes.length == 0) { 92 | this.add_delete = "+"; 93 | } 94 | }, 95 | // 希望得到的返回数据是所有的title date ddl 96 | getTodos: async function(condition){ 97 | console.info("try to get TODOs"+condition); 98 | var actionData = ""; 99 | if (condition===undefined){ 100 | actionData= ""; 101 | } 102 | else{ 103 | actionData = condition.text; 104 | } 105 | console.info("try to get TODOs"+JSON.stringify(condition)+actionData); 106 | 107 | var action = {}; 108 | action.bundleName = 'com.example.backup'; 109 | action.abilityName = 'com.example.backup.TodoServiceAbility'; 110 | action.messageCode = ACTION_MESSAGE_SELECT_TODOS; 111 | action.data = actionData; 112 | action.abilityType = ABILITY_TYPE_INTERNAL; 113 | action.syncOption = ACTION_SYNC; 114 | 115 | var result = await FeatureAbility.callAbility(action); 116 | console.info("getTodos" + result); 117 | 118 | var jj = JSON.parse(result); 119 | 120 | this.todoList = []; 121 | var n = 0; 122 | var k; 123 | for (var i in jj) { 124 | k = jj[i].replace(/\\/, ""); 125 | console.info("getTodos"+k); 126 | this.todoList[n] = JSON.parse(k); 127 | this.todoList[n].index = i; 128 | if (this.todoList[n].ddl != ""){ 129 | var _ddls = this.todoList[n].ddl.split(","); 130 | this.todoList[n].ddl = _ddls[0]; 131 | this.todoList[n].ddls = []; 132 | this.todoList[n].ddls[0] = _ddls[1]; 133 | this.todoList[n].ddls[1] = _ddls[2]; 134 | this.todoList[n].ddls[2] = _ddls[3]; 135 | var today = new Date(); 136 | if (today.getTime() >= Date.parse(_ddls[3])){ 137 | this.todoList[n].color = 3; 138 | } else if (today.getTime() >= Date.parse(_ddls[2])){ 139 | this.todoList[n].color = 2; 140 | } else if (today.getTime() >= Date.parse(_ddls[1])){ 141 | this.todoList[n].color = 1; 142 | } else { 143 | this.todoList[n].color = 0; 144 | } 145 | console.info("getTodos"+this.todoList[n].ddls.toString()); 146 | } 147 | n++; 148 | }; 149 | }, 150 | deleteTodos: async function(){ 151 | console.info("deleteTodos"); 152 | var actionData = {}; 153 | var action = {}; 154 | action.bundleName = 'com.example.backup'; 155 | action.abilityName = 'com.example.backup.TodoServiceAbility'; 156 | action.messageCode = ACTION_MESSAGE_DELETE_TODOS; 157 | action.abilityType = ABILITY_TYPE_INTERNAL; 158 | action.syncOption = ACTION_SYNC; 159 | for (var i in this.choose_indexes) { 160 | // console.info(this.choose_indexes); 161 | // console.info(JSON.stringify(this.todoList)); 162 | // console.info("Try to delete "+i+ JSON.stringify(this.todoList[this.choose_index[i]])); 163 | var ii = this.choose_indexes[i]; 164 | actionData.id = this.todoList[ii].index; 165 | action.data = actionData; 166 | 167 | var result = await FeatureAbility.callAbility(action); 168 | // this.todoList = JSON.parse(result); 169 | } 170 | this.getTodos(); 171 | } 172 | } 173 | -------------------------------------------------------------------------------- /entry/src/main/resources/base/element/string.json: -------------------------------------------------------------------------------- 1 | { 2 | "string": [ 3 | { 4 | "name": "entry_MainAbility", 5 | "value": "entry_MainAbility" 6 | }, 7 | { 8 | "name": "mainability_description", 9 | "value": "JS_Empty Ability" 10 | }, 11 | { 12 | "name": "tododataability_description", 13 | "value": "hap sample empty provider" 14 | }, 15 | { 16 | "name": "tododataability_description", 17 | "value": "hap sample empty provider" 18 | }, 19 | { 20 | "name": "todoserviceability_description", 21 | "value": "hap sample empty service" 22 | }, 23 | { 24 | "name": "transserviceability_description", 25 | "value": "hap sample empty service" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /entry/src/main/resources/base/media/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/entry/src/main/resources/base/media/icon.png -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/app.js: -------------------------------------------------------------------------------- 1 | export default { 2 | onCreate() { 3 | console.info('TestApplication onCreate'); 4 | }, 5 | onDestroy() { 6 | console.info('TestApplication onDestroy'); 7 | } 8 | }; 9 | -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/i18n/en-US.json: -------------------------------------------------------------------------------- 1 | { 2 | "strings": { 3 | "hello": "Hello", 4 | "world": "World" 5 | }, 6 | "Files": { 7 | } 8 | } -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/i18n/zh-CN.json: -------------------------------------------------------------------------------- 1 | { 2 | "strings": { 3 | "hello": "您好", 4 | "world": "世界" 5 | }, 6 | "Files": { 7 | } 8 | } -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/pages/index/index.css: -------------------------------------------------------------------------------- 1 | .container { 2 | flex-direction: column; 3 | justify-content: center; 4 | align-items: center; 5 | } 6 | 7 | .title { 8 | font-size: 100px; 9 | } 10 | -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/pages/index/index.hml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ $t('strings.hello') }} {{ title }} 4 | 5 | 6 | -------------------------------------------------------------------------------- /entry/src/ohosTest/js/default/pages/index/index.js: -------------------------------------------------------------------------------- 1 | import file from '@system.file' 2 | import app from '@system.app' 3 | import device from '@system.device' 4 | import router from '@system.router' 5 | import {Core, ExpectExtend, ReportExtend, InstrumentLog} from 'deccjsunit/index' 6 | 7 | export default { 8 | data: { 9 | title: "" 10 | }, 11 | onInit() { 12 | this.title = this.$t('strings.world'); 13 | }, 14 | onShow() { 15 | console.info('onShow finish') 16 | const core = Core.getInstance() 17 | const expectExtend = new ExpectExtend({ 18 | 'id': 'extend' 19 | }) 20 | const reportExtend = new ReportExtend(file) 21 | const instrumentLog = new InstrumentLog({ 22 | 'id': 'report' 23 | }) 24 | core.addService('expect', expectExtend) 25 | core.addService('report', reportExtend) 26 | core.addService('report', instrumentLog) 27 | core.init() 28 | core.subscribeEvent('spec', instrumentLog) 29 | core.subscribeEvent('suite', instrumentLog) 30 | core.subscribeEvent('task', instrumentLog) 31 | 32 | const configService = core.getDefaultService('config') 33 | configService.setConfig(this) 34 | 35 | require('../../../test/List.test') 36 | core.execute() 37 | }, 38 | onReady() { 39 | }, 40 | } -------------------------------------------------------------------------------- /entry/src/ohosTest/js/test/ExampleJsunit.test.js: -------------------------------------------------------------------------------- 1 | import app from '@system.app' 2 | import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' 3 | 4 | describe('appInfoTest', function () { 5 | it('app_info_test_001', 0, function () { 6 | var info = app.getInfo() 7 | expect(info.versionName).assertEqual('1.0') 8 | expect(info.versionCode).assertEqual('3') 9 | }) 10 | }) -------------------------------------------------------------------------------- /entry/src/ohosTest/js/test/List.test.js: -------------------------------------------------------------------------------- 1 | require('./ExampleJsunit.test.js') -------------------------------------------------------------------------------- /entry/src/ohosTest/resources/base/element/string.json: -------------------------------------------------------------------------------- 1 | { 2 | "string": [ 3 | { 4 | "name": "app_name", 5 | "value": "Backup" 6 | }, 7 | { 8 | "name": "mainability_description", 9 | "value": "hap sample empty page" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /entry/src/ohosTest/resources/base/media/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/entry/src/ohosTest/resources/base/media/icon.png -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. DevEco Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | # If the Chinese output is garbled, please configure the following parameter. 10 | # This function is enabled by default when the DevEco Studio builds the hap/app,if you need disable gradle parallel,you should set org.gradle.parallel false. 11 | # more information see https://docs.gradle.org/current/userguide/performance.html 12 | # org.gradle.parallel=false 13 | # org.gradle.jvmargs=-Dfile.encoding=GBK -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-6.3-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin or MSYS, switch paths to Windows format before running java 129 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=`expr $i + 1` 158 | done 159 | case $i in 160 | 0) set -- ;; 161 | 1) set -- "$args0" ;; 162 | 2) set -- "$args0" "$args1" ;; 163 | 3) set -- "$args0" "$args1" "$args2" ;; 164 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=`save "$@"` 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 182 | 183 | exec "$JAVACMD" "$@" 184 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto init 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto init 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :init 68 | @rem Get command-line arguments, handling Windows variants 69 | 70 | if not "%OS%" == "Windows_NT" goto win9xME_args 71 | 72 | :win9xME_args 73 | @rem Slurp the command line arguments. 74 | set CMD_LINE_ARGS= 75 | set _SKIP=2 76 | 77 | :win9xME_args_slurp 78 | if "x%~1" == "x" goto execute 79 | 80 | set CMD_LINE_ARGS=%* 81 | 82 | :execute 83 | @rem Setup the command line 84 | 85 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 86 | 87 | @rem Execute Gradle 88 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 89 | 90 | :end 91 | @rem End local scope for the variables with windows NT shell 92 | if "%ERRORLEVEL%"=="0" goto mainEnd 93 | 94 | :fail 95 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 96 | rem the _cmd.exe /c_ return code! 97 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 98 | exit /b 1 99 | 100 | :mainEnd 101 | if "%OS%"=="Windows_NT" endlocal 102 | 103 | :omega 104 | -------------------------------------------------------------------------------- /hs_err_pid10640.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (memory/allocation.inline.hpp:61), pid=10640, tid=0x0000000000000e10 22 | # 23 | # JRE version: (8.0_265-b01) (build ) 24 | # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode windows-amd64 compressed oops) 25 | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- T H R E A D --------------- 29 | 30 | Current thread (0x00000240f9905000): JavaThread "Unknown thread" [_thread_in_vm, id=3600, stack(0x000000e414400000,0x000000e414500000)] 31 | 32 | Stack: [0x000000e414400000,0x000000e414500000] 33 | [error occurred during error reporting (printing stack bounds), id 0xc0000005] 34 | 35 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 36 | 37 | 38 | --------------- P R O C E S S --------------- 39 | 40 | Java Threads: ( => current thread ) 41 | 42 | Other Threads: 43 | 44 | =>0x00000240f9905000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=3600, stack(0x000000e414400000,0x000000e414500000)] 45 | 46 | VM state:not at safepoint (normal execution) 47 | 48 | VM Mutex/Monitor currently owned by a thread: None 49 | 50 | heap address: 0x0000000091000000, size: 1776 MB, Compressed Oops mode: 32-bit 51 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 52 | Compressed class space size: 1073741824 Address: 0x0000000100000000 53 | 54 | Heap: 55 | PSYoungGen total 33280K, used 573K [0x00000000db000000, 0x00000000dd500000, 0x0000000100000000) 56 | eden space 28672K, 2% used [0x00000000db000000,0x00000000db08f5d0,0x00000000dcc00000) 57 | from space 4608K, 0% used [0x00000000dd080000,0x00000000dd080000,0x00000000dd500000) 58 | to space 4608K, 0% used [0x00000000dcc00000,0x00000000dcc00000,0x00000000dd080000) 59 | ParOldGen total 76800K, used 0K [0x0000000091000000, 0x0000000095b00000, 0x00000000db000000) 60 | object space 76800K, 0% used [0x0000000091000000,0x0000000091000000,0x0000000095b00000) 61 | Metaspace used 780K, capacity 4480K, committed 4480K, reserved 1056768K 62 | class space used 76K, capacity 384K, committed 384K, reserved 1048576K 63 | 64 | Card table byte_map: [0x00000240fb8e0000,0x00000240fbc60000] byte_map_base: 0x00000240fb458000 65 | 66 | Marking Bits: (ParMarkBitMap*) 0x00000000739e7790 67 | Begin Bits: [0x00000240fbeb0000, 0x00000240fda70000) 68 | End Bits: [0x00000240fda70000, 0x00000240ff630000) 69 | 70 | Polling page: 0x00000240f9b90000 71 | 72 | CodeCache: size=245760Kb used=327Kb max_used=327Kb free=245432Kb 73 | bounds [0x0000024080000000, 0x0000024080270000, 0x000002408f000000] 74 | total_blobs=56 nmethods=0 adapters=38 75 | compilation: enabled 76 | 77 | Compilation events (0 events): 78 | No events 79 | 80 | GC Heap History (0 events): 81 | No events 82 | 83 | Deoptimization events (0 events): 84 | No events 85 | 86 | Classes redefined (0 events): 87 | No events 88 | 89 | Internal exceptions (0 events): 90 | No events 91 | 92 | Events (10 events): 93 | Event: 0.034 loading class java/lang/Short 94 | Event: 0.034 loading class java/lang/Short done 95 | Event: 0.034 loading class java/lang/Integer 96 | Event: 0.034 loading class java/lang/Integer done 97 | Event: 0.034 loading class java/lang/Long 98 | Event: 0.034 loading class java/lang/Long done 99 | Event: 0.035 loading class java/lang/NullPointerException 100 | Event: 0.035 loading class java/lang/NullPointerException done 101 | Event: 0.035 loading class java/lang/ArithmeticException 102 | Event: 0.035 loading class java/lang/ArithmeticException done 103 | 104 | 105 | Dynamic libraries: 106 | 0x00007ff6471b0000 - 0x00007ff6471ea000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.exe 107 | 0x00007ffb06d10000 - 0x00007ffb06f05000 C:\Windows\SYSTEM32\ntdll.dll 108 | 0x00007ffb05660000 - 0x00007ffb0571d000 C:\Windows\System32\KERNEL32.DLL 109 | 0x00007ffb04920000 - 0x00007ffb04be9000 C:\Windows\System32\KERNELBASE.dll 110 | 0x00007ffb05ef0000 - 0x00007ffb05f9c000 C:\Windows\System32\ADVAPI32.dll 111 | 0x00007ffb061f0000 - 0x00007ffb0628e000 C:\Windows\System32\msvcrt.dll 112 | 0x00007ffb060e0000 - 0x00007ffb0617b000 C:\Windows\System32\sechost.dll 113 | 0x00007ffb065c0000 - 0x00007ffb066ea000 C:\Windows\System32\RPCRT4.dll 114 | 0x00007ffb054c0000 - 0x00007ffb05660000 C:\Windows\System32\USER32.dll 115 | 0x00007ffb04550000 - 0x00007ffb04572000 C:\Windows\System32\win32u.dll 116 | 0x00007ffb05bf0000 - 0x00007ffb05c1a000 C:\Windows\System32\GDI32.dll 117 | 0x00007ffb045b0000 - 0x00007ffb046bb000 C:\Windows\System32\gdi32full.dll 118 | 0x00007ffb044b0000 - 0x00007ffb0454d000 C:\Windows\System32\msvcp_win.dll 119 | 0x00007ffb046c0000 - 0x00007ffb047c0000 C:\Windows\System32\ucrtbase.dll 120 | 0x00007ffaeebb0000 - 0x00007ffaeee4a000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\COMCTL32.dll 121 | 0x00007ffb068b0000 - 0x00007ffb068e0000 C:\Windows\System32\IMM32.DLL 122 | 0x00007ffae35c0000 - 0x00007ffae36af000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcr120.dll 123 | 0x00007ffae3840000 - 0x00007ffae38e6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcp120.dll 124 | 0x0000000073200000 - 0x0000000073a66000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\server\jvm.dll 125 | 0x00007ffb066f0000 - 0x00007ffb066f8000 C:\Windows\System32\PSAPI.DLL 126 | 0x00007ffafb860000 - 0x00007ffafb887000 C:\Windows\SYSTEM32\WINMM.dll 127 | 0x00007ffafe780000 - 0x00007ffafe78a000 C:\Windows\SYSTEM32\VERSION.dll 128 | 0x00007ffb001a0000 - 0x00007ffb001a9000 C:\Windows\SYSTEM32\WSOCK32.dll 129 | 0x00007ffb06180000 - 0x00007ffb061eb000 C:\Windows\System32\WS2_32.dll 130 | 0x00007ffb01b30000 - 0x00007ffb01b3f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\verify.dll 131 | 0x00007ffafce20000 - 0x00007ffafce48000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.dll 132 | 0x00007ffafb060000 - 0x00007ffafb076000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\zip.dll 133 | 134 | VM Arguments: 135 | java_command: C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar --mode hap --assets-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\assets --force true --dex-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\transformClasses\debug\dalvik\classes.dex --json-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\config.json --resources-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources --index-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources.index --out-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\entry-debug-rich-unsigned.hap --shell-apk-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\shell_output\debug\entry_debug_signed_entry.apk --pack-info-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\pack.info 136 | java_class_path (initial): C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar 137 | Launcher Type: SUN_STANDARD 138 | 139 | Environment Variables: 140 | PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\Reticence\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Huawei\DevEco Studio 2.1.0.501\bin;;C:\Users\Reticence\AppData\Local\Programs\Microsoft VS Code\bin 141 | USERNAME=Reticence 142 | OS=Windows_NT 143 | PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD 144 | 145 | 146 | 147 | --------------- S Y S T E M --------------- 148 | 149 | OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.1023) 150 | 151 | CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1 152 | 153 | Memory: 4k page, physical 7272780k(1249492k free), swap 7272780k(5812k free) 154 | 155 | vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for windows-amd64 JRE (1.8.0_265-b01), built on Jul 28 2020 15:11:27 by "jenkins" with MS VC++ 12.0 (VS2013) 156 | 157 | time: Sat Jul 17 10:46:19 2021 158 | timezone: China Standard Time 159 | elapsed time: 0 seconds (0d 0h 0m 0s) 160 | 161 | -------------------------------------------------------------------------------- /hs_err_pid11544.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reticenceji/todo_harmonyOS/8528465b5be142b5619803f57f2e8d68e15fc6c0/hs_err_pid11544.log -------------------------------------------------------------------------------- /hs_err_pid4072.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (memory/allocation.inline.hpp:61), pid=4072, tid=0x00000000000016b8 22 | # 23 | # JRE version: (8.0_265-b01) (build ) 24 | # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode windows-amd64 compressed oops) 25 | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- T H R E A D --------------- 29 | 30 | Current thread (0x000001478b506800): JavaThread "Unknown thread" [_thread_in_vm, id=5816, stack(0x0000002b06a00000,0x0000002b06b00000)] 31 | 32 | Stack: [0x0000002b06a00000,0x0000002b06b00000] 33 | [error occurred during error reporting (printing stack bounds), id 0xc0000005] 34 | 35 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 36 | 37 | 38 | --------------- P R O C E S S --------------- 39 | 40 | Java Threads: ( => current thread ) 41 | 42 | Other Threads: 43 | 44 | =>0x000001478b506800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=5816, stack(0x0000002b06a00000,0x0000002b06b00000)] 45 | 46 | VM state:not at safepoint (normal execution) 47 | 48 | VM Mutex/Monitor currently owned by a thread: None 49 | 50 | heap address: 0x0000000091000000, size: 1776 MB, Compressed Oops mode: 32-bit 51 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 52 | Compressed class space size: 1073741824 Address: 0x0000000100000000 53 | 54 | Heap: 55 | PSYoungGen total 33280K, used 573K [0x00000000db000000, 0x00000000dd500000, 0x0000000100000000) 56 | eden space 28672K, 2% used [0x00000000db000000,0x00000000db08f5d0,0x00000000dcc00000) 57 | from space 4608K, 0% used [0x00000000dd080000,0x00000000dd080000,0x00000000dd500000) 58 | to space 4608K, 0% used [0x00000000dcc00000,0x00000000dcc00000,0x00000000dd080000) 59 | ParOldGen total 76800K, used 0K [0x0000000091000000, 0x0000000095b00000, 0x00000000db000000) 60 | object space 76800K, 0% used [0x0000000091000000,0x0000000091000000,0x0000000095b00000) 61 | Metaspace used 792K, capacity 1156K, committed 1408K, reserved 1060864K 62 | class space used 76K, capacity 384K, committed 384K, reserved 1048576K 63 | 64 | Card table byte_map: [0x000001479c650000,0x000001479c9d0000] byte_map_base: 0x000001479c1c8000 65 | 66 | Marking Bits: (ParMarkBitMap*) 0x0000000074c47790 67 | Begin Bits: [0x000001479cc20000, 0x000001479e7e0000) 68 | End Bits: [0x000001479e7e0000, 0x00000147a03a0000) 69 | 70 | Polling page: 0x000001478b670000 71 | 72 | CodeCache: size=245760Kb used=327Kb max_used=327Kb free=245432Kb 73 | bounds [0x000001478d290000, 0x000001478d500000, 0x000001479c290000] 74 | total_blobs=56 nmethods=0 adapters=38 75 | compilation: enabled 76 | 77 | Compilation events (0 events): 78 | No events 79 | 80 | GC Heap History (0 events): 81 | No events 82 | 83 | Deoptimization events (0 events): 84 | No events 85 | 86 | Classes redefined (0 events): 87 | No events 88 | 89 | Internal exceptions (0 events): 90 | No events 91 | 92 | Events (10 events): 93 | Event: 0.018 loading class java/lang/Short 94 | Event: 0.018 loading class java/lang/Short done 95 | Event: 0.018 loading class java/lang/Integer 96 | Event: 0.018 loading class java/lang/Integer done 97 | Event: 0.018 loading class java/lang/Long 98 | Event: 0.018 loading class java/lang/Long done 99 | Event: 0.019 loading class java/lang/NullPointerException 100 | Event: 0.019 loading class java/lang/NullPointerException done 101 | Event: 0.019 loading class java/lang/ArithmeticException 102 | Event: 0.019 loading class java/lang/ArithmeticException done 103 | 104 | 105 | Dynamic libraries: 106 | 0x00007ff6d9730000 - 0x00007ff6d976a000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.exe 107 | 0x00007ff93b030000 - 0x00007ff93b225000 C:\Windows\SYSTEM32\ntdll.dll 108 | 0x00007ff9395a0000 - 0x00007ff93965d000 C:\Windows\System32\KERNEL32.DLL 109 | 0x00007ff938770000 - 0x00007ff938a37000 C:\Windows\System32\KERNELBASE.dll 110 | 0x00007ff9394c0000 - 0x00007ff93956a000 C:\Windows\System32\ADVAPI32.dll 111 | 0x00007ff939370000 - 0x00007ff93940e000 C:\Windows\System32\msvcrt.dll 112 | 0x00007ff93ae10000 - 0x00007ff93aeab000 C:\Windows\System32\sechost.dll 113 | 0x00007ff93a830000 - 0x00007ff93a954000 C:\Windows\System32\RPCRT4.dll 114 | 0x00007ff939e60000 - 0x00007ff93a000000 C:\Windows\System32\USER32.dll 115 | 0x00007ff938ba0000 - 0x00007ff938bc2000 C:\Windows\System32\win32u.dll 116 | 0x00007ff939090000 - 0x00007ff9390ba000 C:\Windows\System32\GDI32.dll 117 | 0x00007ff938bd0000 - 0x00007ff938cd9000 C:\Windows\System32\gdi32full.dll 118 | 0x00007ff938de0000 - 0x00007ff938e7d000 C:\Windows\System32\msvcp_win.dll 119 | 0x00007ff938ee0000 - 0x00007ff938fe0000 C:\Windows\System32\ucrtbase.dll 120 | 0x00007ff9236a0000 - 0x00007ff92393b000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21\COMCTL32.dll 121 | 0x00007ff939570000 - 0x00007ff9395a0000 C:\Windows\System32\IMM32.DLL 122 | 0x00007ff913e80000 - 0x00007ff913f6f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcr120.dll 123 | 0x00007ff913dd0000 - 0x00007ff913e76000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcp120.dll 124 | 0x0000000074460000 - 0x0000000074cc6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\server\jvm.dll 125 | 0x00007ff93ad80000 - 0x00007ff93ad88000 C:\Windows\System32\PSAPI.DLL 126 | 0x00007ff921240000 - 0x00007ff921249000 C:\Windows\SYSTEM32\WSOCK32.dll 127 | 0x00007ff92eb50000 - 0x00007ff92eb77000 C:\Windows\SYSTEM32\WINMM.dll 128 | 0x00007ff930f30000 - 0x00007ff930f3a000 C:\Windows\SYSTEM32\VERSION.dll 129 | 0x00007ff93abf0000 - 0x00007ff93ac5b000 C:\Windows\System32\WS2_32.dll 130 | 0x00007ff934230000 - 0x00007ff93423f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\verify.dll 131 | 0x00007ff933570000 - 0x00007ff933598000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.dll 132 | 0x00007ff92fcc0000 - 0x00007ff92fcd6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\zip.dll 133 | 134 | VM Arguments: 135 | java_command: C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar --mode hap --assets-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\assets --force true --dex-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\transformClasses\debug\dalvik\classes.dex --json-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\config.json --resources-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources --index-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources.index --out-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\entry-debug-rich-unsigned.hap --shell-apk-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\shell_output\debug\entry_debug_signed_entry.apk --pack-info-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\pack.info 136 | java_class_path (initial): C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar 137 | Launcher Type: SUN_STANDARD 138 | 139 | Environment Variables: 140 | PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\Reticence\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Huawei\DevEco Studio 2.1.0.501\bin;;C:\Users\Reticence\AppData\Local\Programs\Microsoft VS Code\bin 141 | USERNAME=Reticence 142 | OS=Windows_NT 143 | PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD 144 | 145 | 146 | 147 | --------------- S Y S T E M --------------- 148 | 149 | OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.292) 150 | 151 | CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1 152 | 153 | Memory: 4k page, physical 7272780k(1230548k free), swap 7272780k(5948k free) 154 | 155 | vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for windows-amd64 JRE (1.8.0_265-b01), built on Jul 28 2020 15:11:27 by "jenkins" with MS VC++ 12.0 (VS2013) 156 | 157 | time: Thu Jul 15 09:49:14 2021 158 | timezone: China Standard Time 159 | elapsed time: 0 seconds (0d 0h 0m 0s) 160 | 161 | -------------------------------------------------------------------------------- /hs_err_pid6764.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1369456 bytes for Chunk::new 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (allocation.cpp:389), pid=6764, tid=0x0000000000001844 22 | # 23 | # JRE version: OpenJDK Runtime Environment (8.0_265-b01) (build 1.8.0_265-b01) 24 | # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode windows-amd64 compressed oops) 25 | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- T H R E A D --------------- 29 | 30 | Current thread (0x000001a6cad2b000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=6212, stack(0x00000075b2600000,0x00000075b2700000)] 31 | 32 | Stack: [0x00000075b2600000,0x00000075b2700000] 33 | [error occurred during error reporting (printing stack bounds), id 0xc0000005] 34 | 35 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 36 | 37 | 38 | Current CompileTask: 39 | C2:9418920 21907 % 4 groovy.lang.MetaClassImpl::populateMethods @ 59 (400 bytes) 40 | 41 | 42 | --------------- P R O C E S S --------------- 43 | 44 | Java Threads: ( => current thread ) 45 | 0x000001a6d41e7800 JavaThread "Cache worker for Build Output Cleanup Cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\buildOutputCleanup)" [_thread_blocked, id=6092, stack(0x00000075b4900000,0x00000075b4a00000)] 46 | 0x000001a6d41e9000 JavaThread "Build operations Thread 8" [_thread_blocked, id=9652, stack(0x00000075b4800000,0x00000075b4900000)] 47 | 0x000001a6d2590000 JavaThread "Build operations Thread 7" [_thread_blocked, id=8832, stack(0x00000075b4500000,0x00000075b4600000)] 48 | 0x000001a6d258e000 JavaThread "Build operations Thread 6" [_thread_blocked, id=7912, stack(0x00000075b4400000,0x00000075b4500000)] 49 | 0x000001a6d258f800 JavaThread "Build operations Thread 5" [_thread_blocked, id=4080, stack(0x00000075b4300000,0x00000075b4400000)] 50 | 0x000001a6d2591800 JavaThread "Build operations Thread 4" [_thread_blocked, id=3860, stack(0x00000075b4200000,0x00000075b4300000)] 51 | 0x000001a6d2591000 JavaThread "Build operations Thread 3" [_thread_blocked, id=2116, stack(0x00000075b4100000,0x00000075b4200000)] 52 | 0x000001a6d2586000 JavaThread "Build operations Thread 2" [_thread_blocked, id=5144, stack(0x00000075b4000000,0x00000075b4100000)] 53 | 0x000001a6d258c000 JavaThread "gradle-enterprise-worker-0" [_thread_blocked, id=4652, stack(0x00000075b3f00000,0x00000075b4000000)] 54 | 0x000001a6d2584800 JavaThread "Build operations" [_thread_blocked, id=3896, stack(0x00000075b3e00000,0x00000075b3f00000)] 55 | 0x000001a6d258b800 JavaThread "Cache worker for cache directory md-rule (C:\Users\Reticence\.gradle\caches\6.3\md-rule)" [_thread_blocked, id=9156, stack(0x00000075b3900000,0x00000075b3a00000)] 56 | 0x000001a6d2583800 JavaThread "Cache worker for cache directory md-supplier (C:\Users\Reticence\.gradle\caches\6.3\md-supplier)" [_thread_blocked, id=7720, stack(0x00000075b3500000,0x00000075b3600000)] 57 | 0x000001a6d258a800 JavaThread "Cache worker for file hash cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\6.3\fileHashes)" [_thread_blocked, id=10656, stack(0x00000075b3400000,0x00000075b3500000)] 58 | 0x000001a6d2583000 JavaThread "Cache worker for checksums cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\checksums)" [_thread_blocked, id=7112, stack(0x00000075b3300000,0x00000075b3400000)] 59 | 0x000001a6d2585000 JavaThread "Thread-1946" [_thread_blocked, id=6188, stack(0x00000075b3200000,0x00000075b3300000)] 60 | 0x000001a6d2586800 JavaThread "Stdin handler" [_thread_blocked, id=5064, stack(0x00000075b3100000,0x00000075b3200000)] 61 | 0x000001a6d258a000 JavaThread "Asynchronous log dispatcher for DefaultDaemonConnection: socket connection from /127.0.0.1:64035 to /127.0.0.1:53231" [_thread_blocked, id=10396, stack(0x00000075b3000000,0x00000075b3100000)] 62 | 0x000001a6d2588800 JavaThread "Cancel handler" [_thread_blocked, id=9820, stack(0x00000075b1700000,0x00000075b1800000)] 63 | 0x000001a6d2587800 JavaThread "Handler for socket connection from /127.0.0.1:64035 to /127.0.0.1:53231" [_thread_in_native, id=2520, stack(0x00000075b1600000,0x00000075b1700000)] 64 | 0x000001a6d01b9000 JavaThread "Daemon worker Thread 42" [_thread_blocked, id=8532, stack(0x00000075b2f00000,0x00000075b3000000)] 65 | 0x000001a6d01b6000 JavaThread "Daemon Thread 42" [_thread_blocked, id=10820, stack(0x00000075b1500000,0x00000075b1600000)] 66 | 0x000001a6d41f4800 JavaThread "Cache worker for Java compile cache (C:\Users\Reticence\.gradle\caches\6.3\javaCompile)" [_thread_blocked, id=8332, stack(0x00000075b4f00000,0x00000075b5000000)] 67 | 0x000001a6d41e8000 JavaThread "Cache worker for file content cache (C:\Users\Reticence\.gradle\caches\6.3\fileContent)" [_thread_blocked, id=3744, stack(0x00000075b4700000,0x00000075b4800000)] 68 | 0x000001a6d41eb000 JavaThread "Memory manager" [_thread_blocked, id=5480, stack(0x00000075b4600000,0x00000075b4700000)] 69 | 0x000001a6cdf82800 JavaThread "Cache worker for execution history cache (C:\Users\Reticence\.gradle\caches\6.3\executionHistory)" [_thread_blocked, id=8812, stack(0x00000075b3d00000,0x00000075b3e00000)] 70 | 0x000001a6cdf7e800 JavaThread "Cache worker for file hash cache (C:\Users\Reticence\.gradle\caches\6.3\fileHashes)" [_thread_blocked, id=9128, stack(0x00000075b3800000,0x00000075b3900000)] 71 | 0x000001a6cdf85800 JavaThread "File lock request listener" [_thread_in_native, id=2788, stack(0x00000075b3700000,0x00000075b3800000)] 72 | 0x000001a6cdf81000 JavaThread "Cache worker for journal cache (C:\Users\Reticence\.gradle\caches\journal-1)" [_thread_blocked, id=4648, stack(0x00000075b3600000,0x00000075b3700000)] 73 | 0x000001a6ce027000 JavaThread "Daemon periodic checks" [_thread_blocked, id=6732, stack(0x00000075b2e00000,0x00000075b2f00000)] 74 | 0x000001a6ce037000 JavaThread "Incoming local TCP Connector on port 64035" [_thread_in_native, id=6800, stack(0x00000075b2d00000,0x00000075b2e00000)] 75 | 0x000001a6cde68800 JavaThread "Daemon health stats" [_thread_blocked, id=5048, stack(0x00000075b2c00000,0x00000075b2d00000)] 76 | 0x000001a6cad4e000 JavaThread "Service Thread" daemon [_thread_blocked, id=6304, stack(0x00000075b2a00000,0x00000075b2b00000)] 77 | 0x000001a6cad3e000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=1300, stack(0x00000075b2900000,0x00000075b2a00000)] 78 | 0x000001a6cad36800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=2600, stack(0x00000075b2800000,0x00000075b2900000)] 79 | 0x000001a6cad2d800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=8520, stack(0x00000075b2700000,0x00000075b2800000)] 80 | =>0x000001a6cad2b000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=6212, stack(0x00000075b2600000,0x00000075b2700000)] 81 | 0x000001a6cacc8800 JavaThread "Attach Listener" daemon [_thread_blocked, id=7632, stack(0x00000075b2500000,0x00000075b2600000)] 82 | 0x000001a6cad14000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1284, stack(0x00000075b2400000,0x00000075b2500000)] 83 | 0x000001a6ca0ab800 JavaThread "Finalizer" daemon [_thread_blocked, id=1316, stack(0x00000075b2300000,0x00000075b2400000)] 84 | 0x000001a6ca0a5000 JavaThread "Reference Handler" daemon [_thread_blocked, id=1400, stack(0x00000075b2200000,0x00000075b2300000)] 85 | 0x000001a6b7494800 JavaThread "main" [_thread_blocked, id=644, stack(0x00000075b1800000,0x00000075b1900000)] 86 | 87 | Other Threads: 88 | 0x000001a6cac72800 VMThread [stack: 0x00000075b2100000,0x00000075b2200000] [id=8276] 89 | 0x000001a6cc072800 WatcherThread [stack: 0x00000075b2b00000,0x00000075b2c00000] [id=7140] 90 | 91 | VM state:at safepoint (normal execution) 92 | 93 | VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) 94 | [0x000001a6b7491830] Threads_lock - owner thread: 0x000001a6cac72800 95 | [0x000001a6b7494040] Heap_lock - owner thread: 0x000001a6d01b9000 96 | 97 | heap address: 0x00000000e0000000, size: 512 MB, Compressed Oops mode: 32-bit 98 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 99 | Compressed class space size: 1073741824 Address: 0x0000000100000000 100 | 101 | Heap: 102 | PSYoungGen total 103424K, used 92672K [0x00000000f5580000, 0x00000000fdf00000, 0x0000000100000000) 103 | eden space 92672K, 100% used [0x00000000f5580000,0x00000000fb000000,0x00000000fb000000) 104 | from space 10752K, 0% used [0x00000000fb180000,0x00000000fb180000,0x00000000fbc00000) 105 | to space 24064K, 41% used [0x00000000fc780000,0x00000000fd131630,0x00000000fdf00000) 106 | ParOldGen total 349696K, used 62414K [0x00000000e0000000, 0x00000000f5580000, 0x00000000f5580000) 107 | object space 349696K, 17% used [0x00000000e0000000,0x00000000e3cf3a00,0x00000000f5580000) 108 | Metaspace used 92557K, capacity 103500K, committed 104064K, reserved 1138688K 109 | class space used 12561K, capacity 15041K, committed 15232K, reserved 1048576K 110 | 111 | Card table byte_map: [0x000001a6c84f0000,0x000001a6c8600000] byte_map_base: 0x000001a6c7df0000 112 | 113 | Marking Bits: (ParMarkBitMap*) 0x000000006ca37790 114 | Begin Bits: [0x000001a6c86b0000, 0x000001a6c8eb0000) 115 | End Bits: [0x000001a6c8eb0000, 0x000001a6c96b0000) 116 | 117 | Polling page: 0x000001a6b7570000 118 | 119 | CodeCache: size=245760Kb used=62037Kb max_used=62039Kb free=183722Kb 120 | bounds [0x000001a6b9130000, 0x000001a6bce30000, 0x000001a6c8130000] 121 | total_blobs=18584 nmethods=17697 adapters=796 122 | compilation: enabled 123 | 124 | Compilation events (10 events): 125 | Event: 9418.857 Thread 0x000001a6cad3e000 21982 3 org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite::createCachedMethodSite (60 bytes) 126 | Event: 9418.858 Thread 0x000001a6cad3e000 nmethod 21982 0x000001a6baae7990 code [0x000001a6baae7bc0, 0x000001a6baae8980] 127 | Event: 9418.866 Thread 0x000001a6cad36800 nmethod 21946 0x000001a6bcaee510 code [0x000001a6bcaee7a0, 0x000001a6bcaef740] 128 | Event: 9418.866 Thread 0x000001a6cad3e000 21984 3 java.lang.Class::privateGetDeclaredMethods (67 bytes) 129 | Event: 9418.866 Thread 0x000001a6cad36800 21983 ! 4 java.lang.reflect.Executable::sharedToGenericString (329 bytes) 130 | Event: 9418.866 Thread 0x000001a6cad3e000 nmethod 21984 0x000001a6bcaed650 code [0x000001a6bcaed840, 0x000001a6bcaee170] 131 | Event: 9418.890 Thread 0x000001a6cad3e000 21986 3 org.codehaus.groovy.runtime.callsite.AbstractCallSite::callCurrent (7 bytes) 132 | Event: 9418.891 Thread 0x000001a6cad3e000 nmethod 21986 0x000001a6bbdf5b10 code [0x000001a6bbdf5ca0, 0x000001a6bbdf6000] 133 | Event: 9418.899 Thread 0x000001a6cad3e000 21987 3 org.apache.tools.ant.ComponentHelper::initTypes (90 bytes) 134 | Event: 9418.901 Thread 0x000001a6cad3e000 nmethod 21987 0x000001a6bb8b7690 code [0x000001a6bb8b7960, 0x000001a6bb8b8aa0] 135 | 136 | GC Heap History (10 events): 137 | Event: 8425.989 GC heap after 138 | Heap after GC invocations=35 (full 3): 139 | PSYoungGen total 121344K, used 6176K [0x00000000f5580000, 0x00000000fe580000, 0x0000000100000000) 140 | eden space 97280K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb480000) 141 | from space 24064K, 25% used [0x00000000fce00000,0x00000000fd408158,0x00000000fe580000) 142 | to space 25088K, 0% used [0x00000000fb480000,0x00000000fb480000,0x00000000fcd00000) 143 | ParOldGen total 248832K, used 69193K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 144 | object space 248832K, 27% used [0x00000000e0000000,0x00000000e43925d0,0x00000000ef300000) 145 | Metaspace used 80520K, capacity 90805K, committed 91008K, reserved 1126400K 146 | class space used 11038K, capacity 13341K, committed 13440K, reserved 1048576K 147 | } 148 | Event: 9281.660 GC heap before 149 | {Heap before GC invocations=36 (full 3): 150 | PSYoungGen total 121344K, used 103456K [0x00000000f5580000, 0x00000000fe580000, 0x0000000100000000) 151 | eden space 97280K, 100% used [0x00000000f5580000,0x00000000fb480000,0x00000000fb480000) 152 | from space 24064K, 25% used [0x00000000fce00000,0x00000000fd408158,0x00000000fe580000) 153 | to space 25088K, 0% used [0x00000000fb480000,0x00000000fb480000,0x00000000fcd00000) 154 | ParOldGen total 248832K, used 69193K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 155 | object space 248832K, 27% used [0x00000000e0000000,0x00000000e43925d0,0x00000000ef300000) 156 | Metaspace used 80566K, capacity 90817K, committed 91008K, reserved 1126400K 157 | class space used 11039K, capacity 13343K, committed 13440K, reserved 1048576K 158 | Event: 9281.674 GC heap after 159 | Heap after GC invocations=36 (full 3): 160 | PSYoungGen total 105472K, used 9334K [0x00000000f5580000, 0x00000000fe300000, 0x0000000100000000) 161 | eden space 95744K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb300000) 162 | from space 9728K, 95% used [0x00000000fb480000,0x00000000fbd9d9a8,0x00000000fbe00000) 163 | to space 24576K, 0% used [0x00000000fcb00000,0x00000000fcb00000,0x00000000fe300000) 164 | ParOldGen total 248832K, used 71288K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 165 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e459e060,0x00000000ef300000) 166 | Metaspace used 80566K, capacity 90817K, committed 91008K, reserved 1126400K 167 | class space used 11039K, capacity 13343K, committed 13440K, reserved 1048576K 168 | } 169 | Event: 9401.878 GC heap before 170 | {Heap before GC invocations=37 (full 3): 171 | PSYoungGen total 105472K, used 105078K [0x00000000f5580000, 0x00000000fe300000, 0x0000000100000000) 172 | eden space 95744K, 100% used [0x00000000f5580000,0x00000000fb300000,0x00000000fb300000) 173 | from space 9728K, 95% used [0x00000000fb480000,0x00000000fbd9d9a8,0x00000000fbe00000) 174 | to space 24576K, 0% used [0x00000000fcb00000,0x00000000fcb00000,0x00000000fe300000) 175 | ParOldGen total 248832K, used 71288K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 176 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e459e060,0x00000000ef300000) 177 | Metaspace used 81814K, capacity 92131K, committed 92416K, reserved 1128448K 178 | class space used 11184K, capacity 13488K, committed 13568K, reserved 1048576K 179 | Event: 9401.885 GC heap after 180 | Heap after GC invocations=37 (full 3): 181 | PSYoungGen total 118272K, used 5225K [0x00000000f5580000, 0x00000000fe280000, 0x0000000100000000) 182 | eden space 94208K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb180000) 183 | from space 24064K, 21% used [0x00000000fcb00000,0x00000000fd01a668,0x00000000fe280000) 184 | to space 25088K, 0% used [0x00000000fb180000,0x00000000fb180000,0x00000000fca00000) 185 | ParOldGen total 248832K, used 71672K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 186 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e45fe060,0x00000000ef300000) 187 | Metaspace used 81814K, capacity 92131K, committed 92416K, reserved 1128448K 188 | class space used 11184K, capacity 13488K, committed 13568K, reserved 1048576K 189 | } 190 | Event: 9417.416 GC heap before 191 | {Heap before GC invocations=38 (full 3): 192 | PSYoungGen total 118272K, used 57452K [0x00000000f5580000, 0x00000000fe280000, 0x0000000100000000) 193 | eden space 94208K, 55% used [0x00000000f5580000,0x00000000f8880a68,0x00000000fb180000) 194 | from space 24064K, 21% used [0x00000000fcb00000,0x00000000fd01a668,0x00000000fe280000) 195 | to space 25088K, 0% used [0x00000000fb180000,0x00000000fb180000,0x00000000fca00000) 196 | ParOldGen total 248832K, used 71672K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 197 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e45fe060,0x00000000ef300000) 198 | Metaspace used 87932K, capacity 98399K, committed 98560K, reserved 1134592K 199 | class space used 11930K, capacity 14280K, committed 14336K, reserved 1048576K 200 | Event: 9417.423 GC heap after 201 | Heap after GC invocations=38 (full 3): 202 | PSYoungGen total 103424K, used 10652K [0x00000000f5580000, 0x00000000fdf00000, 0x0000000100000000) 203 | eden space 92672K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb000000) 204 | from space 10752K, 99% used [0x00000000fb180000,0x00000000fbbe71f8,0x00000000fbc00000) 205 | to space 24064K, 0% used [0x00000000fc780000,0x00000000fc780000,0x00000000fdf00000) 206 | ParOldGen total 248832K, used 71808K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 207 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e4620070,0x00000000ef300000) 208 | Metaspace used 87932K, capacity 98399K, committed 98560K, reserved 1134592K 209 | class space used 11930K, capacity 14280K, committed 14336K, reserved 1048576K 210 | } 211 | Event: 9417.423 GC heap before 212 | {Heap before GC invocations=39 (full 4): 213 | PSYoungGen total 103424K, used 10652K [0x00000000f5580000, 0x00000000fdf00000, 0x0000000100000000) 214 | eden space 92672K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb000000) 215 | from space 10752K, 99% used [0x00000000fb180000,0x00000000fbbe71f8,0x00000000fbc00000) 216 | to space 24064K, 0% used [0x00000000fc780000,0x00000000fc780000,0x00000000fdf00000) 217 | ParOldGen total 248832K, used 71808K [0x00000000e0000000, 0x00000000ef300000, 0x00000000f5580000) 218 | object space 248832K, 28% used [0x00000000e0000000,0x00000000e4620070,0x00000000ef300000) 219 | Metaspace used 87932K, capacity 98399K, committed 98560K, reserved 1134592K 220 | class space used 11930K, capacity 14280K, committed 14336K, reserved 1048576K 221 | Event: 9417.703 GC heap after 222 | Heap after GC invocations=39 (full 4): 223 | PSYoungGen total 103424K, used 0K [0x00000000f5580000, 0x00000000fdf00000, 0x0000000100000000) 224 | eden space 92672K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fb000000) 225 | from space 10752K, 0% used [0x00000000fb180000,0x00000000fb180000,0x00000000fbc00000) 226 | to space 24064K, 0% used [0x00000000fc780000,0x00000000fc780000,0x00000000fdf00000) 227 | ParOldGen total 349696K, used 62406K [0x00000000e0000000, 0x00000000f5580000, 0x00000000f5580000) 228 | object space 349696K, 17% used [0x00000000e0000000,0x00000000e3cf1a00,0x00000000f5580000) 229 | Metaspace used 87224K, capacity 97042K, committed 98560K, reserved 1134592K 230 | class space used 11782K, capacity 14000K, committed 14336K, reserved 1048576K 231 | } 232 | Event: 9418.908 GC heap before 233 | {Heap before GC invocations=40 (full 4): 234 | PSYoungGen total 103424K, used 92672K [0x00000000f5580000, 0x00000000fdf00000, 0x0000000100000000) 235 | eden space 92672K, 100% used [0x00000000f5580000,0x00000000fb000000,0x00000000fb000000) 236 | from space 10752K, 0% used [0x00000000fb180000,0x00000000fb180000,0x00000000fbc00000) 237 | to space 24064K, 0% used [0x00000000fc780000,0x00000000fc780000,0x00000000fdf00000) 238 | ParOldGen total 349696K, used 62406K [0x00000000e0000000, 0x00000000f5580000, 0x00000000f5580000) 239 | object space 349696K, 17% used [0x00000000e0000000,0x00000000e3cf1a00,0x00000000f5580000) 240 | Metaspace used 92557K, capacity 103500K, committed 104064K, reserved 1138688K 241 | class space used 12561K, capacity 15041K, committed 15232K, reserved 1048576K 242 | 243 | Deoptimization events (10 events): 244 | Event: 9418.575 Thread 0x000001a6d01b9000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001a6bc547b48 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 214 245 | Event: 9418.697 Thread 0x000001a6d01b9000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001a6ba86f9f0 method=org.gradle.api.internal.DynamicPropertyNamer.determineName(Ljava/lang/Object;)Ljava/lang/String; @ 11 246 | Event: 9418.697 Thread 0x000001a6d01b9000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001a6ba86f9f0 method=org.gradle.api.internal.DynamicPropertyNamer.determineName(Ljava/lang/Object;)Ljava/lang/String; @ 11 247 | Event: 9418.697 Thread 0x000001a6d01b9000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001a6ba86f9f0 method=org.gradle.api.internal.DynamicPropertyNamer.determineName(Ljava/lang/Object;)Ljava/lang/String; @ 11 248 | Event: 9418.697 Thread 0x000001a6d01b9000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001a6ba86f9f0 method=org.gradle.api.internal.DynamicPropertyNamer.determineName(Ljava/lang/Object;)Ljava/lang/String; @ 11 249 | Event: 9418.697 Thread 0x000001a6d01b9000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001a6bcb077cc method=org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createCachedMethodSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;Lgroovy/lang/MetaClassImpl;Lorg/codehaus/groovy 250 | Event: 9418.755 Thread 0x000001a6d01b9000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001a6ba01584c method=java.lang.ref.SoftReference.get()Ljava/lang/Object; @ 6 251 | Event: 9418.765 Thread 0x000001a6d2585000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001a6bb1f69c0 method=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(J)J @ 73 252 | Event: 9418.785 Thread 0x000001a6d01b9000 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000001a6bb8dad64 method=java.util.TimSort.binarySort([Ljava/lang/Object;IIILjava/util/Comparator;)V @ 193 253 | Event: 9418.835 Thread 0x000001a6d01b9000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001a6bb050d78 method=java.lang.ref.SoftReference.get()Ljava/lang/Object; @ 6 254 | 255 | Classes redefined (0 events): 256 | No events 257 | 258 | Internal exceptions (10 events): 259 | Event: 9418.875 Thread 0x000001a6d01b9000 Exception (0x00000000fad028e8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 260 | Event: 9418.875 Thread 0x000001a6d01b9000 Exception (0x00000000fad171c0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 261 | Event: 9418.881 Thread 0x000001a6d01b9000 Exception (0x00000000fad9bd78) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 262 | Event: 9418.882 Thread 0x000001a6d01b9000 Exception (0x00000000fadb2698) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 263 | Event: 9418.887 Thread 0x000001a6d01b9000 Exception (0x00000000fae14dc8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 264 | Event: 9418.888 Thread 0x000001a6d01b9000 Exception (0x00000000fae2b100) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 265 | Event: 9418.897 Thread 0x000001a6d01b9000 Exception (0x00000000faecaf60) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 266 | Event: 9418.897 Thread 0x000001a6d01b9000 Exception (0x00000000faee2e18) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 267 | Event: 9418.903 Thread 0x000001a6d01b9000 Exception (0x00000000faf887f0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 268 | Event: 9418.904 Thread 0x000001a6d01b9000 Exception (0x00000000faf9ed70) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 215] 269 | 270 | Events (10 events): 271 | Event: 9418.903 loading class com/huawei/ohos/build/utils/StringHandlerCustomizer done 272 | Event: 9418.903 loading class com/huawei/ohos/build/utils/StringHandlerCustomizer 273 | Event: 9418.903 loading class com/huawei/ohos/build/utils/StringHandlerCustomizer done 274 | Event: 9418.903 loading class com/huawei/ohos/build/utils/StringHandlerCustomizer 275 | Event: 9418.903 loading class com/huawei/ohos/build/utils/StringHandlerCustomizer done 276 | Event: 9418.906 loading class com/huawei/deveco/common/security/util/StringUtil 277 | Event: 9418.906 loading class com/huawei/deveco/common/security/util/StringUtil done 278 | Event: 9418.908 loading class groovy/runtime/metaclass/com/huawei/deveco/common/security/util/StringUtilMetaClass 279 | Event: 9418.908 loading class groovy/runtime/metaclass/com/huawei/deveco/common/security/util/StringUtilMetaClass done 280 | Event: 9418.908 Executing VM operation: ParallelGCFailedAllocation 281 | 282 | 283 | Dynamic libraries: 284 | 0x00007ff7290f0000 - 0x00007ff72912a000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\bin\java.exe 285 | 0x00007ffe91610000 - 0x00007ffe91805000 C:\Windows\SYSTEM32\ntdll.dll 286 | 0x00007ffe90d40000 - 0x00007ffe90dfd000 C:\Windows\System32\KERNEL32.DLL 287 | 0x00007ffe8f150000 - 0x00007ffe8f417000 C:\Windows\System32\KERNELBASE.dll 288 | 0x00007ffe8f680000 - 0x00007ffe8f72a000 C:\Windows\System32\ADVAPI32.dll 289 | 0x00007ffe909e0000 - 0x00007ffe90a7e000 C:\Windows\System32\msvcrt.dll 290 | 0x00007ffe90320000 - 0x00007ffe903bb000 C:\Windows\System32\sechost.dll 291 | 0x00007ffe91420000 - 0x00007ffe91544000 C:\Windows\System32\RPCRT4.dll 292 | 0x00007ffe90840000 - 0x00007ffe909e0000 C:\Windows\System32\USER32.dll 293 | 0x00007ffe8f5c0000 - 0x00007ffe8f5e2000 C:\Windows\System32\win32u.dll 294 | 0x00007ffe90e00000 - 0x00007ffe90e2a000 C:\Windows\System32\GDI32.dll 295 | 0x00007ffe8ee30000 - 0x00007ffe8ef39000 C:\Windows\System32\gdi32full.dll 296 | 0x00007ffe8f520000 - 0x00007ffe8f5bd000 C:\Windows\System32\msvcp_win.dll 297 | 0x00007ffe8f420000 - 0x00007ffe8f520000 C:\Windows\System32\ucrtbase.dll 298 | 0x00007ffe78470000 - 0x00007ffe7870b000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21\COMCTL32.dll 299 | 0x00007ffe90a80000 - 0x00007ffe90ab0000 C:\Windows\System32\IMM32.DLL 300 | 0x00007ffe69160000 - 0x00007ffe6924f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcr120.dll 301 | 0x00007ffe690b0000 - 0x00007ffe69156000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcp120.dll 302 | 0x000000006c250000 - 0x000000006cab6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\server\jvm.dll 303 | 0x00007ffe901d0000 - 0x00007ffe901d8000 C:\Windows\System32\PSAPI.DLL 304 | 0x00007ffe76560000 - 0x00007ffe76569000 C:\Windows\SYSTEM32\WSOCK32.dll 305 | 0x00007ffe87930000 - 0x00007ffe8793a000 C:\Windows\SYSTEM32\VERSION.dll 306 | 0x00007ffe85100000 - 0x00007ffe85127000 C:\Windows\SYSTEM32\WINMM.dll 307 | 0x00007ffe902b0000 - 0x00007ffe9031b000 C:\Windows\System32\WS2_32.dll 308 | 0x00007ffe8c5d0000 - 0x00007ffe8c5df000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\verify.dll 309 | 0x00007ffe8a820000 - 0x00007ffe8a848000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.dll 310 | 0x00007ffe8a800000 - 0x00007ffe8a816000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\zip.dll 311 | 0x00007ffe8f790000 - 0x00007ffe8fed1000 C:\Windows\System32\SHELL32.dll 312 | 0x00007ffe8ceb0000 - 0x00007ffe8d643000 C:\Windows\SYSTEM32\windows.storage.dll 313 | 0x00007ffe90e30000 - 0x00007ffe91185000 C:\Windows\System32\combase.dll 314 | 0x00007ffe8e6f0000 - 0x00007ffe8e71c000 C:\Windows\SYSTEM32\Wldp.dll 315 | 0x00007ffe90ab0000 - 0x00007ffe90b5e000 C:\Windows\System32\SHCORE.dll 316 | 0x00007ffe8f730000 - 0x00007ffe8f785000 C:\Windows\System32\shlwapi.dll 317 | 0x00007ffe8ec80000 - 0x00007ffe8eca6000 C:\Windows\SYSTEM32\profapi.dll 318 | 0x00007ffe87080000 - 0x00007ffe8709a000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\net.dll 319 | 0x00007ffe8e470000 - 0x00007ffe8e4da000 C:\Windows\system32\mswsock.dll 320 | 0x00007ffe87060000 - 0x00007ffe87072000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\nio.dll 321 | 0x00007ffe86a60000 - 0x00007ffe86a87000 C:\Users\Reticence\.gradle\native\c976cfcca226fdd4bee4412e95191dd41148b7504f9625baeda1d523bc39a967\windows-amd64\native-platform.dll 322 | 0x00007ffe8a0e0000 - 0x00007ffe8a0ed000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\management.dll 323 | 0x00007ffe8e650000 - 0x00007ffe8e668000 C:\Windows\SYSTEM32\CRYPTSP.dll 324 | 0x00007ffe8de00000 - 0x00007ffe8de34000 C:\Windows\system32\rsaenh.dll 325 | 0x00007ffe8ed50000 - 0x00007ffe8ed77000 C:\Windows\System32\bcrypt.dll 326 | 0x00007ffe8ec40000 - 0x00007ffe8ec6e000 C:\Windows\SYSTEM32\USERENV.dll 327 | 0x00007ffe8f5f0000 - 0x00007ffe8f66f000 C:\Windows\System32\bcryptprimitives.dll 328 | 0x00007ffe8e640000 - 0x00007ffe8e64c000 C:\Windows\SYSTEM32\CRYPTBASE.dll 329 | 0x00007ffe8e160000 - 0x00007ffe8e19b000 C:\Windows\SYSTEM32\IPHLPAPI.DLL 330 | 0x00007ffe90830000 - 0x00007ffe90839000 C:\Windows\System32\NSI.dll 331 | 0x00007ffe87910000 - 0x00007ffe87927000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL 332 | 0x00007ffe88b00000 - 0x00007ffe88b1d000 C:\Windows\SYSTEM32\dhcpcsvc.DLL 333 | 0x00007ffe8e1a0000 - 0x00007ffe8e26b000 C:\Windows\SYSTEM32\DNSAPI.dll 334 | 0x00007ffe8a040000 - 0x00007ffe8a063000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\sunec.dll 335 | 0x00007ffe83470000 - 0x00007ffe8347a000 C:\Windows\System32\rasadhlp.dll 336 | 0x00007ffe83210000 - 0x00007ffe8328f000 C:\Windows\System32\fwpuclnt.dll 337 | 0x00007ffe8a990000 - 0x00007ffe8a99c000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\sunmscapi.dll 338 | 0x00007ffe8ef40000 - 0x00007ffe8f09d000 C:\Windows\System32\CRYPT32.dll 339 | 0x00007ffe8e760000 - 0x00007ffe8e787000 C:\Windows\SYSTEM32\ncrypt.dll 340 | 0x00007ffe8e720000 - 0x00007ffe8e75b000 C:\Windows\SYSTEM32\NTASN1.dll 341 | 0x00007ffe88bd0000 - 0x00007ffe88be7000 C:\Windows\system32\napinsp.dll 342 | 0x00007ffe88bb0000 - 0x00007ffe88bcb000 C:\Windows\system32\pnrpnsp.dll 343 | 0x00007ffe7c5d0000 - 0x00007ffe7c5e5000 C:\Windows\system32\wshbth.dll 344 | 0x00007ffe8a7e0000 - 0x00007ffe8a7fd000 C:\Windows\system32\NLAapi.dll 345 | 0x00007ffe88b90000 - 0x00007ffe88ba2000 C:\Windows\System32\winrnr.dll 346 | 347 | VM Arguments: 348 | jvm_args: -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant 349 | java_command: org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.3 350 | java_class_path (initial): C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\gradle\lib\gradle-launcher-6.3.jar 351 | Launcher Type: SUN_STANDARD 352 | 353 | Environment Variables: 354 | PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\Reticence\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Huawei\DevEco Studio 2.1.0.501\bin;;C:\Users\Reticence\AppData\Local\Programs\Microsoft VS Code\bin 355 | USERNAME=Reticence 356 | OS=Windows_NT 357 | PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD 358 | 359 | 360 | 361 | --------------- S Y S T E M --------------- 362 | 363 | OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.292) 364 | 365 | CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1 366 | 367 | Memory: 4k page, physical 7272780k(1349716k free), swap 7272780k(5480k free) 368 | 369 | vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for windows-amd64 JRE (1.8.0_265-b01), built on Jul 28 2020 15:11:27 by "jenkins" with MS VC++ 12.0 (VS2013) 370 | 371 | time: Thu Jul 15 03:44:33 2021 372 | timezone: China Standard Time 373 | elapsed time: 9418 seconds (0d 2h 36m 58s) 374 | 375 | -------------------------------------------------------------------------------- /hs_err_pid7036.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (memory/allocation.inline.hpp:61), pid=7036, tid=0x00000000000022e0 22 | # 23 | # JRE version: (8.0_265-b01) (build ) 24 | # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode windows-amd64 compressed oops) 25 | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- T H R E A D --------------- 29 | 30 | Current thread (0x00000220af6f6800): JavaThread "Unknown thread" [_thread_in_vm, id=8928, stack(0x000000282a000000,0x000000282a100000)] 31 | 32 | Stack: [0x000000282a000000,0x000000282a100000] 33 | [error occurred during error reporting (printing stack bounds), id 0xc0000005] 34 | 35 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 36 | 37 | 38 | --------------- P R O C E S S --------------- 39 | 40 | Java Threads: ( => current thread ) 41 | 42 | Other Threads: 43 | 44 | =>0x00000220af6f6800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=8928, stack(0x000000282a000000,0x000000282a100000)] 45 | 46 | VM state:not at safepoint (normal execution) 47 | 48 | VM Mutex/Monitor currently owned by a thread: None 49 | 50 | heap address: 0x0000000091000000, size: 1776 MB, Compressed Oops mode: 32-bit 51 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 52 | Compressed class space size: 1073741824 Address: 0x0000000100000000 53 | 54 | Heap: 55 | PSYoungGen total 33280K, used 573K [0x00000000db000000, 0x00000000dd500000, 0x0000000100000000) 56 | eden space 28672K, 2% used [0x00000000db000000,0x00000000db08f5d0,0x00000000dcc00000) 57 | from space 4608K, 0% used [0x00000000dd080000,0x00000000dd080000,0x00000000dd500000) 58 | to space 4608K, 0% used [0x00000000dcc00000,0x00000000dcc00000,0x00000000dd080000) 59 | ParOldGen total 76800K, used 0K [0x0000000091000000, 0x0000000095b00000, 0x00000000db000000) 60 | object space 76800K, 0% used [0x0000000091000000,0x0000000091000000,0x0000000095b00000) 61 | Metaspace used 780K, capacity 4480K, committed 4480K, reserved 1056768K 62 | class space used 76K, capacity 384K, committed 384K, reserved 1048576K 63 | 64 | Card table byte_map: [0x00000220c08d0000,0x00000220c0c50000] byte_map_base: 0x00000220c0448000 65 | 66 | Marking Bits: (ParMarkBitMap*) 0x0000000074c47790 67 | Begin Bits: [0x00000220c0ea0000, 0x00000220c2a60000) 68 | End Bits: [0x00000220c2a60000, 0x00000220c4620000) 69 | 70 | Polling page: 0x00000220af910000 71 | 72 | CodeCache: size=245760Kb used=327Kb max_used=327Kb free=245432Kb 73 | bounds [0x00000220b1510000, 0x00000220b1780000, 0x00000220c0510000] 74 | total_blobs=56 nmethods=0 adapters=38 75 | compilation: enabled 76 | 77 | Compilation events (0 events): 78 | No events 79 | 80 | GC Heap History (0 events): 81 | No events 82 | 83 | Deoptimization events (0 events): 84 | No events 85 | 86 | Classes redefined (0 events): 87 | No events 88 | 89 | Internal exceptions (0 events): 90 | No events 91 | 92 | Events (10 events): 93 | Event: 0.020 loading class java/lang/Short 94 | Event: 0.020 loading class java/lang/Short done 95 | Event: 0.020 loading class java/lang/Integer 96 | Event: 0.020 loading class java/lang/Integer done 97 | Event: 0.020 loading class java/lang/Long 98 | Event: 0.020 loading class java/lang/Long done 99 | Event: 0.020 loading class java/lang/NullPointerException 100 | Event: 0.020 loading class java/lang/NullPointerException done 101 | Event: 0.020 loading class java/lang/ArithmeticException 102 | Event: 0.020 loading class java/lang/ArithmeticException done 103 | 104 | 105 | Dynamic libraries: 106 | 0x00007ff6d9730000 - 0x00007ff6d976a000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.exe 107 | 0x00007ff93b030000 - 0x00007ff93b225000 C:\Windows\SYSTEM32\ntdll.dll 108 | 0x00007ff9395a0000 - 0x00007ff93965d000 C:\Windows\System32\KERNEL32.DLL 109 | 0x00007ff938770000 - 0x00007ff938a37000 C:\Windows\System32\KERNELBASE.dll 110 | 0x00007ff9394c0000 - 0x00007ff93956a000 C:\Windows\System32\ADVAPI32.dll 111 | 0x00007ff939370000 - 0x00007ff93940e000 C:\Windows\System32\msvcrt.dll 112 | 0x00007ff93ae10000 - 0x00007ff93aeab000 C:\Windows\System32\sechost.dll 113 | 0x00007ff93a830000 - 0x00007ff93a954000 C:\Windows\System32\RPCRT4.dll 114 | 0x00007ff939e60000 - 0x00007ff93a000000 C:\Windows\System32\USER32.dll 115 | 0x00007ff938ba0000 - 0x00007ff938bc2000 C:\Windows\System32\win32u.dll 116 | 0x00007ff939090000 - 0x00007ff9390ba000 C:\Windows\System32\GDI32.dll 117 | 0x00007ff938bd0000 - 0x00007ff938cd9000 C:\Windows\System32\gdi32full.dll 118 | 0x00007ff938de0000 - 0x00007ff938e7d000 C:\Windows\System32\msvcp_win.dll 119 | 0x00007ff938ee0000 - 0x00007ff938fe0000 C:\Windows\System32\ucrtbase.dll 120 | 0x00007ff9236a0000 - 0x00007ff92393b000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21\COMCTL32.dll 121 | 0x00007ff939570000 - 0x00007ff9395a0000 C:\Windows\System32\IMM32.DLL 122 | 0x00007ff913e80000 - 0x00007ff913f6f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcr120.dll 123 | 0x00007ff913dd0000 - 0x00007ff913e76000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcp120.dll 124 | 0x0000000074460000 - 0x0000000074cc6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\server\jvm.dll 125 | 0x00007ff93ad80000 - 0x00007ff93ad88000 C:\Windows\System32\PSAPI.DLL 126 | 0x00007ff92eb50000 - 0x00007ff92eb77000 C:\Windows\SYSTEM32\WINMM.dll 127 | 0x00007ff921240000 - 0x00007ff921249000 C:\Windows\SYSTEM32\WSOCK32.dll 128 | 0x00007ff930f30000 - 0x00007ff930f3a000 C:\Windows\SYSTEM32\VERSION.dll 129 | 0x00007ff93abf0000 - 0x00007ff93ac5b000 C:\Windows\System32\WS2_32.dll 130 | 0x00007ff934230000 - 0x00007ff93423f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\verify.dll 131 | 0x00007ff933570000 - 0x00007ff933598000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.dll 132 | 0x00007ff92fcc0000 - 0x00007ff92fcd6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\zip.dll 133 | 134 | VM Arguments: 135 | java_command: C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar --mode hap --assets-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\assets --force true --dex-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\transformClasses\debug\dalvik\classes.dex --json-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\config.json --resources-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources --index-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\res\debug\rich\resources.index --out-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\entry-debug-rich-unsigned.hap --shell-apk-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\intermediates\shell_output\debug\entry_debug_signed_entry.apk --pack-info-path C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\entry\build\outputs\hap\debug\pack.info 136 | java_class_path (initial): C:\Users\Reticence\AppData\Local\Huawei\Sdk\toolchains\lib\hmos_app_packing_tool.jar 137 | Launcher Type: SUN_STANDARD 138 | 139 | Environment Variables: 140 | PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\Reticence\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Huawei\DevEco Studio 2.1.0.501\bin;;C:\Users\Reticence\AppData\Local\Programs\Microsoft VS Code\bin 141 | USERNAME=Reticence 142 | OS=Windows_NT 143 | PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD 144 | 145 | 146 | 147 | --------------- S Y S T E M --------------- 148 | 149 | OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.292) 150 | 151 | CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1 152 | 153 | Memory: 4k page, physical 7272780k(1385704k free), swap 7272780k(5420k free) 154 | 155 | vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for windows-amd64 JRE (1.8.0_265-b01), built on Jul 28 2020 15:11:27 by "jenkins" with MS VC++ 12.0 (VS2013) 156 | 157 | time: Thu Jul 15 09:35:25 2021 158 | timezone: China Standard Time 159 | elapsed time: 0 seconds (0d 0h 0m 0s) 160 | 161 | -------------------------------------------------------------------------------- /hs_err_pid8812.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1055216 bytes for Chunk::new 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (allocation.cpp:389), pid=8812, tid=0x00000000000019ac 22 | # 23 | # JRE version: OpenJDK Runtime Environment (8.0_265-b01) (build 1.8.0_265-b01) 24 | # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode windows-amd64 compressed oops) 25 | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- T H R E A D --------------- 29 | 30 | Current thread (0x00000244fc0be800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=6572, stack(0x000000f912e00000,0x000000f912f00000)] 31 | 32 | Stack: [0x000000f912e00000,0x000000f912f00000] 33 | [error occurred during error reporting (printing stack bounds), id 0xc0000005] 34 | 35 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 36 | 37 | 38 | Current CompileTask: 39 | C2:3472999 12014 4 java.io.ObjectOutputStream::writeClassDesc (60 bytes) 40 | 41 | 42 | --------------- P R O C E S S --------------- 43 | 44 | Java Threads: ( => current thread ) 45 | 0x0000024482302000 JavaThread "Thread-220" [_thread_in_native, id=6752, stack(0x000000f915800000,0x000000f915900000)] 46 | 0x0000024482303800 JavaThread "Thread-219" [_thread_in_native, id=9568, stack(0x000000f915700000,0x000000f915800000)] 47 | 0x00000244fd40a000 JavaThread "Cache worker for execution history cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\6.3\executionHistory)" [_thread_blocked, id=9724, stack(0x000000f915500000,0x000000f915600000)] 48 | 0x00000244fde47000 JavaThread "Execution worker for ':' Thread 7" [_thread_blocked, id=10588, stack(0x000000f915400000,0x000000f915500000)] 49 | 0x00000244fde47800 JavaThread "Execution worker for ':' Thread 6" [_thread_blocked, id=5624, stack(0x000000f915300000,0x000000f915400000)] 50 | 0x00000244fde46000 JavaThread "Execution worker for ':' Thread 5" [_thread_blocked, id=10964, stack(0x000000f915200000,0x000000f915300000)] 51 | 0x00000244fde45800 JavaThread "Execution worker for ':' Thread 4" [_thread_blocked, id=2364, stack(0x000000f915100000,0x000000f915200000)] 52 | 0x00000244fde4b000 JavaThread "Execution worker for ':' Thread 3" [_thread_blocked, id=5936, stack(0x000000f915000000,0x000000f915100000)] 53 | 0x00000244fde44800 JavaThread "Execution worker for ':' Thread 2" [_thread_blocked, id=4512, stack(0x000000f914f00000,0x000000f915000000)] 54 | 0x00000244fde48800 JavaThread "Execution worker for ':'" [_thread_in_native, id=3748, stack(0x000000f914e00000,0x000000f914f00000)] 55 | 0x00000244fde4a000 JavaThread "Cache worker for file content cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\6.3\fileContent)" [_thread_blocked, id=224, stack(0x000000f914d00000,0x000000f914e00000)] 56 | 0x00000244fde40000 JavaThread "Cache worker for Build Output Cleanup Cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\buildOutputCleanup)" [_thread_blocked, id=1604, stack(0x000000f914a00000,0x000000f914b00000)] 57 | 0x00000244fde3c000 JavaThread "Build operations Thread 8" [_thread_blocked, id=9616, stack(0x000000f914900000,0x000000f914a00000)] 58 | 0x00000244fde3d800 JavaThread "Build operations Thread 7" [_thread_blocked, id=9912, stack(0x000000f914800000,0x000000f914900000)] 59 | 0x00000244fde3f000 JavaThread "Build operations Thread 6" [_thread_blocked, id=3440, stack(0x000000f914700000,0x000000f914800000)] 60 | 0x00000244fde41800 JavaThread "Build operations Thread 5" [_thread_blocked, id=1208, stack(0x000000f914600000,0x000000f914700000)] 61 | 0x00000244fde40800 JavaThread "Build operations Thread 4" [_thread_blocked, id=10712, stack(0x000000f914500000,0x000000f914600000)] 62 | 0x00000244fde43000 JavaThread "Build operations Thread 3" [_thread_blocked, id=11020, stack(0x000000f914300000,0x000000f914400000)] 63 | 0x00000244810a9000 JavaThread "Build operations Thread 2" [_thread_blocked, id=9888, stack(0x000000f914200000,0x000000f914300000)] 64 | 0x00000244810a5000 JavaThread "Build operations" [_thread_blocked, id=9988, stack(0x000000f914100000,0x000000f914200000)] 65 | 0x00000244810ac800 JavaThread "Cache worker for cache directory md-rule (C:\Users\Reticence\.gradle\caches\6.3\md-rule)" [_thread_blocked, id=8012, stack(0x000000f914000000,0x000000f914100000)] 66 | 0x00000244810aa800 JavaThread "Cache worker for cache directory md-supplier (C:\Users\Reticence\.gradle\caches\6.3\md-supplier)" [_thread_blocked, id=9344, stack(0x000000f913c00000,0x000000f913d00000)] 67 | 0x00000244810ab800 JavaThread "Cache worker for file hash cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\6.3\fileHashes)" [_thread_blocked, id=10216, stack(0x000000f913b00000,0x000000f913c00000)] 68 | 0x00000244810a8800 JavaThread "Cache worker for checksums cache (C:\Users\Reticence\DevEcoStudioProjects\app_samples\ability\Backup\.gradle\checksums)" [_thread_blocked, id=7272, stack(0x000000f913a00000,0x000000f913b00000)] 69 | 0x00000244810a7800 JavaThread "Thread-194" [_thread_blocked, id=8672, stack(0x000000f913900000,0x000000f913a00000)] 70 | 0x00000244810a6000 JavaThread "Stdin handler" [_thread_blocked, id=7108, stack(0x000000f913800000,0x000000f913900000)] 71 | 0x00000244810a7000 JavaThread "Asynchronous log dispatcher for DefaultDaemonConnection: socket connection from /127.0.0.1:60954 to /127.0.0.1:59583" [_thread_blocked, id=9520, stack(0x000000f913700000,0x000000f913800000)] 72 | 0x000002448109d800 JavaThread "Cancel handler" [_thread_blocked, id=6920, stack(0x000000f911e00000,0x000000f911f00000)] 73 | 0x00000244810a0800 JavaThread "Handler for socket connection from /127.0.0.1:60954 to /127.0.0.1:59583" [_thread_in_native, id=9668, stack(0x000000f911d00000,0x000000f911e00000)] 74 | 0x00000244fde42000 JavaThread "Daemon worker Thread 6" [_thread_blocked, id=6360, stack(0x000000f913600000,0x000000f913700000)] 75 | 0x00000244fd409000 JavaThread "Daemon Thread 6" [_thread_blocked, id=1232, stack(0x000000f911c00000,0x000000f911d00000)] 76 | 0x00000244810aa000 JavaThread "Cache worker for Java compile cache (C:\Users\Reticence\.gradle\caches\6.3\javaCompile)" [_thread_blocked, id=2236, stack(0x000000f915600000,0x000000f915700000)] 77 | 0x00000244810a4800 JavaThread "Cache worker for file content cache (C:\Users\Reticence\.gradle\caches\6.3\fileContent)" [_thread_blocked, id=10972, stack(0x000000f914c00000,0x000000f914d00000)] 78 | 0x00000244810a3000 JavaThread "Memory manager" [_thread_blocked, id=8144, stack(0x000000f914b00000,0x000000f914c00000)] 79 | 0x00000244fd40a800 JavaThread "Cache worker for execution history cache (C:\Users\Reticence\.gradle\caches\6.3\executionHistory)" [_thread_blocked, id=4188, stack(0x000000f914400000,0x000000f914500000)] 80 | 0x00000244fd406800 JavaThread "Cache worker for file hash cache (C:\Users\Reticence\.gradle\caches\6.3\fileHashes)" [_thread_blocked, id=3116, stack(0x000000f913f00000,0x000000f914000000)] 81 | 0x00000244fd406000 JavaThread "File lock request listener" [_thread_in_native, id=5612, stack(0x000000f913e00000,0x000000f913f00000)] 82 | 0x00000244fd405000 JavaThread "Cache worker for journal cache (C:\Users\Reticence\.gradle\caches\journal-1)" [_thread_blocked, id=8436, stack(0x000000f913d00000,0x000000f913e00000)] 83 | 0x00000244ff5a4000 JavaThread "Daemon periodic checks" [_thread_blocked, id=3284, stack(0x000000f913500000,0x000000f913600000)] 84 | 0x00000244ff5a3800 JavaThread "Incoming local TCP Connector on port 60954" [_thread_in_native, id=8536, stack(0x000000f913400000,0x000000f913500000)] 85 | 0x00000244ff14f800 JavaThread "Daemon health stats" [_thread_blocked, id=5816, stack(0x000000f913300000,0x000000f913400000)] 86 | 0x00000244fd474800 JavaThread "Service Thread" daemon [_thread_blocked, id=8224, stack(0x000000f913100000,0x000000f913200000)] 87 | 0x00000244fd404800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=5460, stack(0x000000f913000000,0x000000f913100000)] 88 | 0x00000244fc0c6000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=4652, stack(0x000000f912f00000,0x000000f913000000)] 89 | =>0x00000244fc0be800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=6572, stack(0x000000f912e00000,0x000000f912f00000)] 90 | 0x00000244fc0bc000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4648, stack(0x000000f912d00000,0x000000f912e00000)] 91 | 0x00000244fc0b9000 JavaThread "Attach Listener" daemon [_thread_blocked, id=4896, stack(0x000000f912c00000,0x000000f912d00000)] 92 | 0x00000244fc0a2800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5440, stack(0x000000f912b00000,0x000000f912c00000)] 93 | 0x00000244fc02b000 JavaThread "Finalizer" daemon [_thread_blocked, id=5900, stack(0x000000f912a00000,0x000000f912b00000)] 94 | 0x00000244fb428000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3060, stack(0x000000f912900000,0x000000f912a00000)] 95 | 0x00000244e8704000 JavaThread "main" [_thread_blocked, id=3732, stack(0x000000f911f00000,0x000000f912000000)] 96 | 97 | Other Threads: 98 | 0x00000244fc003800 VMThread [stack: 0x000000f912800000,0x000000f912900000] [id=8648] 99 | 0x00000244fc0de800 WatcherThread [stack: 0x000000f913200000,0x000000f913300000] [id=9208] 100 | 101 | VM state:not at safepoint (normal execution) 102 | 103 | VM Mutex/Monitor currently owned by a thread: None 104 | 105 | heap address: 0x00000000e0000000, size: 512 MB, Compressed Oops mode: 32-bit 106 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 107 | Compressed class space size: 1073741824 Address: 0x0000000100000000 108 | 109 | Heap: 110 | PSYoungGen total 146944K, used 84092K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 111 | eden space 119296K, 55% used [0x00000000f5580000,0x00000000f96137a0,0x00000000fca00000) 112 | from space 27648K, 64% used [0x00000000fe500000,0x00000000ff68ba80,0x0000000100000000) 113 | to space 27648K, 0% used [0x00000000fca00000,0x00000000fca00000,0x00000000fe500000) 114 | ParOldGen total 283136K, used 56546K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 115 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37389a0,0x00000000f1480000) 116 | Metaspace used 73555K, capacity 80750K, committed 80768K, reserved 1118208K 117 | class space used 10498K, capacity 12404K, committed 12416K, reserved 1048576K 118 | 119 | Card table byte_map: [0x00000244f9870000,0x00000244f9980000] byte_map_base: 0x00000244f9170000 120 | 121 | Marking Bits: (ParMarkBitMap*) 0x00000000739e7790 122 | Begin Bits: [0x00000244f9a30000, 0x00000244fa230000) 123 | End Bits: [0x00000244fa230000, 0x00000244faa30000) 124 | 125 | Polling page: 0x00000244e8950000 126 | 127 | CodeCache: size=245760Kb used=34722Kb max_used=34722Kb free=211037Kb 128 | bounds [0x00000244ea4b0000, 0x00000244ec6d0000, 0x00000244f94b0000] 129 | total_blobs=11128 nmethods=10328 adapters=711 130 | compilation: enabled 131 | 132 | Compilation events (10 events): 133 | Event: 3472.854 Thread 0x00000244fc0c6000 12029 4 org.apache.groovy.json.internal.CharBuf::shouldEscape (38 bytes) 134 | Event: 3472.854 Thread 0x00000244fd404800 nmethod 12028 0x00000244ec6bbd10 code [0x00000244ec6bbe80, 0x00000244ec6bc170] 135 | Event: 3472.854 Thread 0x00000244fd404800 12027 ! 3 groovy.json.StringEscapeUtils::unescapeJava (38 bytes) 136 | Event: 3472.855 Thread 0x00000244fc0bc000 nmethod 12026 0x00000244ec1d3910 code [0x00000244ec1d3a40, 0x00000244ec1d3ad8] 137 | Event: 3472.855 Thread 0x00000244fc0c6000 nmethod 12029 0x00000244ec6bfc50 code [0x00000244ec6bfda0, 0x00000244ec6bfe58] 138 | Event: 3472.855 Thread 0x00000244fd404800 nmethod 12027 0x00000244ec6beb50 code [0x00000244ec6bed40, 0x00000244ec6bf670] 139 | Event: 3472.855 Thread 0x00000244fd404800 12030 3 groovy.json.JsonOutput::getIndent (42 bytes) 140 | Event: 3472.856 Thread 0x00000244fd404800 nmethod 12030 0x00000244ec6c19d0 code [0x00000244ec6c1bc0, 0x00000244ec6c2660] 141 | Event: 3472.990 Thread 0x00000244fd404800 12031 ! 3 sun.reflect.GeneratedMethodAccessor291::invoke (65 bytes) 142 | Event: 3472.991 Thread 0x00000244fd404800 nmethod 12031 0x00000244ec6c0990 code [0x00000244ec6c0ba0, 0x00000244ec6c13f0] 143 | 144 | GC Heap History (10 events): 145 | Event: 11.934 GC heap before 146 | {Heap before GC invocations=13 (full 2): 147 | PSYoungGen total 143360K, used 40221K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 148 | eden space 122368K, 15% used [0x00000000f5580000,0x00000000f684b4c8,0x00000000fcd00000) 149 | from space 20992K, 99% used [0x00000000feb80000,0x00000000ffffc040,0x0000000100000000) 150 | to space 26112K, 0% used [0x00000000fcd00000,0x00000000fcd00000,0x00000000fe680000) 151 | ParOldGen total 181248K, used 39763K [0x00000000e0000000, 0x00000000eb100000, 0x00000000f5580000) 152 | object space 181248K, 21% used [0x00000000e0000000,0x00000000e26d4c80,0x00000000eb100000) 153 | Metaspace used 54588K, capacity 59084K, committed 59160K, reserved 1099776K 154 | class space used 7901K, capacity 9293K, committed 9344K, reserved 1048576K 155 | Event: 11.957 GC heap after 156 | Heap after GC invocations=13 (full 2): 157 | PSYoungGen total 142848K, used 20133K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 158 | eden space 122368K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fcd00000) 159 | from space 20480K, 98% used [0x00000000fcd00000,0x00000000fe0a9560,0x00000000fe100000) 160 | to space 27136K, 0% used [0x00000000fe580000,0x00000000fe580000,0x0000000100000000) 161 | ParOldGen total 181248K, used 41966K [0x00000000e0000000, 0x00000000eb100000, 0x00000000f5580000) 162 | object space 181248K, 23% used [0x00000000e0000000,0x00000000e28fbb40,0x00000000eb100000) 163 | Metaspace used 54588K, capacity 59084K, committed 59160K, reserved 1099776K 164 | class space used 7901K, capacity 9293K, committed 9344K, reserved 1048576K 165 | } 166 | Event: 11.957 GC heap before 167 | {Heap before GC invocations=14 (full 3): 168 | PSYoungGen total 142848K, used 20133K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 169 | eden space 122368K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fcd00000) 170 | from space 20480K, 98% used [0x00000000fcd00000,0x00000000fe0a9560,0x00000000fe100000) 171 | to space 27136K, 0% used [0x00000000fe580000,0x00000000fe580000,0x0000000100000000) 172 | ParOldGen total 181248K, used 41966K [0x00000000e0000000, 0x00000000eb100000, 0x00000000f5580000) 173 | object space 181248K, 23% used [0x00000000e0000000,0x00000000e28fbb40,0x00000000eb100000) 174 | Metaspace used 54588K, capacity 59084K, committed 59160K, reserved 1099776K 175 | class space used 7901K, capacity 9293K, committed 9344K, reserved 1048576K 176 | Event: 12.306 GC heap after 177 | Heap after GC invocations=14 (full 3): 178 | PSYoungGen total 142848K, used 0K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 179 | eden space 122368K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fcd00000) 180 | from space 20480K, 0% used [0x00000000fcd00000,0x00000000fcd00000,0x00000000fe100000) 181 | to space 27136K, 0% used [0x00000000fe580000,0x00000000fe580000,0x0000000100000000) 182 | ParOldGen total 283136K, used 56522K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 183 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37329a0,0x00000000f1480000) 184 | Metaspace used 54547K, capacity 58952K, committed 59160K, reserved 1099776K 185 | class space used 7889K, capacity 9271K, committed 9344K, reserved 1048576K 186 | } 187 | Event: 190.146 GC heap before 188 | {Heap before GC invocations=15 (full 3): 189 | PSYoungGen total 142848K, used 122368K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 190 | eden space 122368K, 100% used [0x00000000f5580000,0x00000000fcd00000,0x00000000fcd00000) 191 | from space 20480K, 0% used [0x00000000fcd00000,0x00000000fcd00000,0x00000000fe100000) 192 | to space 27136K, 0% used [0x00000000fe580000,0x00000000fe580000,0x0000000100000000) 193 | ParOldGen total 283136K, used 56522K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 194 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37329a0,0x00000000f1480000) 195 | Metaspace used 60503K, capacity 65730K, committed 65792K, reserved 1105920K 196 | class space used 8732K, capacity 10236K, committed 10240K, reserved 1048576K 197 | Event: 190.155 GC heap after 198 | Heap after GC invocations=15 (full 3): 199 | PSYoungGen total 147968K, used 10354K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 200 | eden space 120832K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fcb80000) 201 | from space 27136K, 38% used [0x00000000fe580000,0x00000000fef9ca08,0x0000000100000000) 202 | to space 26624K, 0% used [0x00000000fcb80000,0x00000000fcb80000,0x00000000fe580000) 203 | ParOldGen total 283136K, used 56530K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 204 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37349a0,0x00000000f1480000) 205 | Metaspace used 60503K, capacity 65730K, committed 65792K, reserved 1105920K 206 | class space used 8732K, capacity 10236K, committed 10240K, reserved 1048576K 207 | } 208 | Event: 1742.410 GC heap before 209 | {Heap before GC invocations=16 (full 3): 210 | PSYoungGen total 147968K, used 131186K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 211 | eden space 120832K, 100% used [0x00000000f5580000,0x00000000fcb80000,0x00000000fcb80000) 212 | from space 27136K, 38% used [0x00000000fe580000,0x00000000fef9ca08,0x0000000100000000) 213 | to space 26624K, 0% used [0x00000000fcb80000,0x00000000fcb80000,0x00000000fe580000) 214 | ParOldGen total 283136K, used 56530K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 215 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37349a0,0x00000000f1480000) 216 | Metaspace used 68395K, capacity 74326K, committed 74496K, reserved 1112064K 217 | class space used 9824K, capacity 11479K, committed 11520K, reserved 1048576K 218 | Event: 1742.426 GC heap after 219 | Heap after GC invocations=16 (full 3): 220 | PSYoungGen total 140288K, used 19267K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 221 | eden space 120832K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fcb80000) 222 | from space 19456K, 99% used [0x00000000fcb80000,0x00000000fde50f30,0x00000000fde80000) 223 | to space 27648K, 0% used [0x00000000fe500000,0x00000000fe500000,0x0000000100000000) 224 | ParOldGen total 283136K, used 56538K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 225 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37369a0,0x00000000f1480000) 226 | Metaspace used 68395K, capacity 74326K, committed 74496K, reserved 1112064K 227 | class space used 9824K, capacity 11479K, committed 11520K, reserved 1048576K 228 | } 229 | Event: 3181.742 GC heap before 230 | {Heap before GC invocations=17 (full 3): 231 | PSYoungGen total 140288K, used 140099K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 232 | eden space 120832K, 100% used [0x00000000f5580000,0x00000000fcb80000,0x00000000fcb80000) 233 | from space 19456K, 99% used [0x00000000fcb80000,0x00000000fde50f30,0x00000000fde80000) 234 | to space 27648K, 0% used [0x00000000fe500000,0x00000000fe500000,0x0000000100000000) 235 | ParOldGen total 283136K, used 56538K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 236 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37369a0,0x00000000f1480000) 237 | Metaspace used 72665K, capacity 79510K, committed 79616K, reserved 1116160K 238 | class space used 10433K, capacity 12288K, committed 12288K, reserved 1048576K 239 | Event: 3181.773 GC heap after 240 | Heap after GC invocations=17 (full 3): 241 | PSYoungGen total 146944K, used 17966K [0x00000000f5580000, 0x0000000100000000, 0x0000000100000000) 242 | eden space 119296K, 0% used [0x00000000f5580000,0x00000000f5580000,0x00000000fca00000) 243 | from space 27648K, 64% used [0x00000000fe500000,0x00000000ff68ba80,0x0000000100000000) 244 | to space 27648K, 0% used [0x00000000fca00000,0x00000000fca00000,0x00000000fe500000) 245 | ParOldGen total 283136K, used 56546K [0x00000000e0000000, 0x00000000f1480000, 0x00000000f5580000) 246 | object space 283136K, 19% used [0x00000000e0000000,0x00000000e37389a0,0x00000000f1480000) 247 | Metaspace used 72665K, capacity 79510K, committed 79616K, reserved 1116160K 248 | class space used 10433K, capacity 12288K, committed 12288K, reserved 1048576K 249 | } 250 | 251 | Deoptimization events (10 events): 252 | Event: 1748.242 Thread 0x00000244fd409000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000244eb99cefc method=org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.checkCall(Ljava/lang/Object;[Ljava/lang/Object;)Z @ 13 253 | Event: 1748.479 Thread 0x00000244810a5000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb8f2770 method=java.util.regex.Pattern$Curly.match0(Ljava/util/regex/Matcher;IILjava/lang/CharSequence;)Z @ 16 254 | Event: 1748.479 Thread 0x00000244810a5000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb8f2770 method=java.util.regex.Pattern$Curly.match0(Ljava/util/regex/Matcher;IILjava/lang/CharSequence;)Z @ 16 255 | Event: 2571.246 Thread 0x00000244810a0800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb1239a0 method=java.io.File.equals(Ljava/lang/Object;)Z @ 5 256 | Event: 3175.086 Thread 0x00000244fde4b000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb1239a0 method=java.io.File.equals(Ljava/lang/Object;)Z @ 5 257 | Event: 3182.135 Thread 0x00000244fde4a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb8f2770 method=java.util.regex.Pattern$Curly.match0(Ljava/util/regex/Matcher;IILjava/lang/CharSequence;)Z @ 16 258 | Event: 3182.135 Thread 0x00000244fde4a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000244eb8f2770 method=java.util.regex.Pattern$Curly.match0(Ljava/util/regex/Matcher;IILjava/lang/CharSequence;)Z @ 16 259 | Event: 3422.211 Thread 0x00000244fde42000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00000244ec4b7ea8 method=org.gradle.tooling.internal.provider.runner.SubtreeFilteringBuildOperationListener.started(Lorg/gradle/internal/operations/BuildOperationDescriptor;Lorg/gradle/internal/ 260 | Event: 3422.214 Thread 0x00000244fde42000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00000244ec4ae1bc method=org.gradle.tooling.internal.provider.runner.SubtreeFilteringBuildOperationListener.finished(Lorg/gradle/internal/operations/BuildOperationDescriptor;Lorg/gradle/internal 261 | Event: 3422.265 Thread 0x00000244810a5000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000244ec18b6d0 method=com.google.common.collect.MapMakerInternalMap$Segment.put(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object; @ 92 262 | 263 | Classes redefined (0 events): 264 | No events 265 | 266 | Internal exceptions (10 events): 267 | Event: 3466.137 Thread 0x00000244fde4b000 Exception (0x00000000f916a188) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 268 | Event: 3466.226 Thread 0x00000244fde4b000 Exception (0x00000000f9283fa0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 269 | Event: 3472.821 Thread 0x00000244fde48800 Exception (0x00000000f94d8bc8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 270 | Event: 3472.821 Thread 0x00000244fde48800 Exception (0x00000000f94d9520) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 271 | Event: 3472.821 Thread 0x00000244fde48800 Exception (0x00000000f94db2d0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 272 | Event: 3472.821 Thread 0x00000244fde48800 Exception (0x00000000f94dbc28) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 273 | Event: 3472.844 Thread 0x00000244fde48800 Exception (0x00000000f9597fc8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 274 | Event: 3472.844 Thread 0x00000244fde48800 Exception (0x00000000f9598ed8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 275 | Event: 3472.844 Thread 0x00000244fde48800 Exception (0x00000000f959bda8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 276 | Event: 3472.844 Thread 0x00000244fde48800 Exception (0x00000000f959ccb8) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 711] 277 | 278 | Events (10 events): 279 | Event: 3472.693 Executing coalesced safepoint VM operation: RevokeBias done 280 | Event: 3472.693 Executing VM operation: RevokeBias done 281 | Event: 3472.693 Executing VM operation: RevokeBias 282 | Event: 3472.694 Executing coalesced safepoint VM operation: RevokeBias 283 | Event: 3472.694 Executing coalesced safepoint VM operation: RevokeBias done 284 | Event: 3472.694 Executing VM operation: RevokeBias done 285 | Event: 3472.694 Thread 0x0000024482305000 Thread exited: 0x0000024482305000 286 | Event: 3472.694 Thread 0x0000024482302000 Thread exited: 0x0000024482302000 287 | Event: 3472.869 Thread 0x0000024482303800 Thread added: 0x0000024482303800 288 | Event: 3472.870 Thread 0x0000024482302000 Thread added: 0x0000024482302000 289 | 290 | 291 | Dynamic libraries: 292 | 0x00007ff631830000 - 0x00007ff63186a000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\bin\java.exe 293 | 0x00007ffb06d10000 - 0x00007ffb06f05000 C:\Windows\SYSTEM32\ntdll.dll 294 | 0x00007ffb05660000 - 0x00007ffb0571d000 C:\Windows\System32\KERNEL32.DLL 295 | 0x00007ffb04920000 - 0x00007ffb04be9000 C:\Windows\System32\KERNELBASE.dll 296 | 0x00007ffb05ef0000 - 0x00007ffb05f9c000 C:\Windows\System32\ADVAPI32.dll 297 | 0x00007ffb061f0000 - 0x00007ffb0628e000 C:\Windows\System32\msvcrt.dll 298 | 0x00007ffb060e0000 - 0x00007ffb0617b000 C:\Windows\System32\sechost.dll 299 | 0x00007ffb065c0000 - 0x00007ffb066ea000 C:\Windows\System32\RPCRT4.dll 300 | 0x00007ffb054c0000 - 0x00007ffb05660000 C:\Windows\System32\USER32.dll 301 | 0x00007ffb04550000 - 0x00007ffb04572000 C:\Windows\System32\win32u.dll 302 | 0x00007ffb05bf0000 - 0x00007ffb05c1a000 C:\Windows\System32\GDI32.dll 303 | 0x00007ffb045b0000 - 0x00007ffb046bb000 C:\Windows\System32\gdi32full.dll 304 | 0x00007ffb044b0000 - 0x00007ffb0454d000 C:\Windows\System32\msvcp_win.dll 305 | 0x00007ffb046c0000 - 0x00007ffb047c0000 C:\Windows\System32\ucrtbase.dll 306 | 0x00007ffaeebb0000 - 0x00007ffaeee4a000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\COMCTL32.dll 307 | 0x00007ffb068b0000 - 0x00007ffb068e0000 C:\Windows\System32\IMM32.DLL 308 | 0x00007ffae35c0000 - 0x00007ffae36af000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcr120.dll 309 | 0x00007ffae3840000 - 0x00007ffae38e6000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\msvcp120.dll 310 | 0x0000000073200000 - 0x0000000073a66000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\server\jvm.dll 311 | 0x00007ffb066f0000 - 0x00007ffb066f8000 C:\Windows\System32\PSAPI.DLL 312 | 0x00007ffb001a0000 - 0x00007ffb001a9000 C:\Windows\SYSTEM32\WSOCK32.dll 313 | 0x00007ffafe780000 - 0x00007ffafe78a000 C:\Windows\SYSTEM32\VERSION.dll 314 | 0x00007ffafb860000 - 0x00007ffafb887000 C:\Windows\SYSTEM32\WINMM.dll 315 | 0x00007ffb06180000 - 0x00007ffb061eb000 C:\Windows\System32\WS2_32.dll 316 | 0x00007ffb01b30000 - 0x00007ffb01b3f000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\verify.dll 317 | 0x00007ffafce20000 - 0x00007ffafce48000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\java.dll 318 | 0x00007ffafb060000 - 0x00007ffafb076000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\zip.dll 319 | 0x00007ffb04d80000 - 0x00007ffb054bf000 C:\Windows\System32\SHELL32.dll 320 | 0x00007ffb02580000 - 0x00007ffb02d11000 C:\Windows\SYSTEM32\windows.storage.dll 321 | 0x00007ffb068e0000 - 0x00007ffb06c35000 C:\Windows\System32\combase.dll 322 | 0x00007ffb03df0000 - 0x00007ffb03e1c000 C:\Windows\SYSTEM32\Wldp.dll 323 | 0x00007ffb06400000 - 0x00007ffb064ae000 C:\Windows\System32\SHCORE.dll 324 | 0x00007ffb05720000 - 0x00007ffb05775000 C:\Windows\System32\shlwapi.dll 325 | 0x00007ffb04390000 - 0x00007ffb043af000 C:\Windows\SYSTEM32\profapi.dll 326 | 0x00007ffaec290000 - 0x00007ffaec2aa000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\net.dll 327 | 0x00007ffb03b50000 - 0x00007ffb03bba000 C:\Windows\system32\mswsock.dll 328 | 0x00007ffaec270000 - 0x00007ffaec282000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\nio.dll 329 | 0x00007ffae5050000 - 0x00007ffae5077000 C:\Users\Reticence\.gradle\native\c976cfcca226fdd4bee4412e95191dd41148b7504f9625baeda1d523bc39a967\windows-amd64\native-platform.dll 330 | 0x00007ffafe710000 - 0x00007ffafe71d000 C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\openjdk\jre\bin\management.dll 331 | 0x00007ffb03d30000 - 0x00007ffb03d48000 C:\Windows\SYSTEM32\CRYPTSP.dll 332 | 0x00007ffb034f0000 - 0x00007ffb03524000 C:\Windows\system32\rsaenh.dll 333 | 0x00007ffb04580000 - 0x00007ffb045a7000 C:\Windows\System32\bcrypt.dll 334 | 0x00007ffb04350000 - 0x00007ffb0437e000 C:\Windows\SYSTEM32\USERENV.dll 335 | 0x00007ffb04bf0000 - 0x00007ffb04c73000 C:\Windows\System32\bcryptprimitives.dll 336 | 0x00007ffb03d50000 - 0x00007ffb03d5c000 C:\Windows\SYSTEM32\CRYPTBASE.dll 337 | 0x00007ffb03840000 - 0x00007ffb0387b000 C:\Windows\SYSTEM32\IPHLPAPI.DLL 338 | 0x00007ffb05fa0000 - 0x00007ffb05fa8000 C:\Windows\System32\NSI.dll 339 | 0x00007ffafd720000 - 0x00007ffafd737000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL 340 | 0x00007ffafd890000 - 0x00007ffafd8ad000 C:\Windows\SYSTEM32\dhcpcsvc.DLL 341 | 0x00007ffb03880000 - 0x00007ffb0394c000 C:\Windows\SYSTEM32\DNSAPI.dll 342 | 343 | VM Arguments: 344 | jvm_args: -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant 345 | java_command: org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.3 346 | java_class_path (initial): C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\gradle\lib\gradle-launcher-6.3.jar 347 | Launcher Type: SUN_STANDARD 348 | 349 | Environment Variables: 350 | PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\Reticence\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Huawei\DevEco Studio 2.1.0.501\bin;;C:\Users\Reticence\AppData\Local\Programs\Microsoft VS Code\bin 351 | USERNAME=Reticence 352 | OS=Windows_NT 353 | PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD 354 | 355 | 356 | 357 | --------------- S Y S T E M --------------- 358 | 359 | OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.1023) 360 | 361 | CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1 362 | 363 | Memory: 4k page, physical 7272780k(1260160k free), swap 7272780k(225600k free) 364 | 365 | vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for windows-amd64 JRE (1.8.0_265-b01), built on Jul 28 2020 15:11:27 by "jenkins" with MS VC++ 12.0 (VS2013) 366 | 367 | time: Sat Jul 17 10:46:19 2021 368 | timezone: China Standard Time 369 | elapsed time: 3473 seconds (0d 0h 57m 53s) 370 | 371 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':entry' 2 | --------------------------------------------------------------------------------