Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robust是如何处理如下问题的? #471

Open
bytebeats opened this issue Jan 14, 2022 · 1 comment
Open

Robust是如何处理如下问题的? #471

bytebeats opened this issue Jan 14, 2022 · 1 comment

Comments

@bytebeats
Copy link

在使用 Robust 的过程中, 有一些疑惑想要 Robust 的研发人员解一下疑, 答一下惑:

  • ART 中新增了 方法内联 的特性, 会在 5.0 ~ 7.0 之间的 AOT 预编译期间, 将一些满足某些条件的函数进行内联优化. 想问一下 Robust 对这些内联过后函数的修复, 是怎么处理的?
  • 对于 Instant Run, Robust 是如何处理的?
  • 对于 Android N 之后的混合编译模式, 已经经过 JIT 记录并在 OS 空闲或者设备充电情况下执行了 AOT 编译的热点函数, fixed 的新函数是如何生效的?
@bytebeats
Copy link
Author

了解了以下内容:

  • Robust 并不受 ART 方法内联 特性的影响. 因为方法内联会把插桩代码也一同内联. 同样, 混合编译也不受影响.
  • Instant Run, TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant