Hotfix/0.6.x for johnzjchen - #409
Merged
Merged
Conversation
chzhij5
commented
Nov 12, 2019
Collaborator
- fix fishhook __DATA_CONST crash (修复 fishhook __DATA_CONST 闪退)
- add async stack backtracking of power-consume-stack (为耗电堆栈增加异步线程回溯)
- optimize the report of CPU_Block, aka lag type 2003 (优化 CPU_Block CPU瞬时过高堆栈的展示)
- add the repeat count of the stack in the Main-Thread-Handling lag report (为耗时堆栈提取出来的堆栈展示,添加重复次数的展示)
…er, global object to memer, prevent crash by roryhuang: 是g_mainThreadStackCycleArray这个变量导致的 这是一个静态变量,多个WCMainThreadHandler实例共享这个变量 在WCMainThreadHandler构造方法里面对其进行了初始化,在析构方法里面设置为了NULL m_pointMainThreadHandler = [[WCMainThreadHandler alloc] initWithCycleArrayCount:g_MainThreadCount]; 运行这个代码的时候,新的WCMainThreadHandler实例方法先执行,旧的WCMainThreadHandler实例析构方法后执行,导致g_mainThreadStackCycleArray被置成了NULL,触发crash
… report of CPUBlock
… comsume stack maximum length to 50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.