Skip to content

Instantly share code, notes, and snippets.

@xushijie
Created December 29, 2013 20:41
Show Gist options
  • Save xushijie/8174601 to your computer and use it in GitHub Desktop.
Save xushijie/8174601 to your computer and use it in GitHub Desktop.
Dynamic Optimization of Bytecode Instrumentation (VMIL 13)
an analysis model and a framework that enables reducing analysis overhead at runtime through adaptive instrumentation of
the base program. Overhead reduction is achieved by removing instrumentation from code locations that are considered unimportant for the analysis results, thereby avoiding execution of analysis code for those locations.
=> Hints: 对于MH chains,由于有很多MH,但并不是所有的MH都是有效的或者被调用到的,因此我在运行时候删除部分的不会/很少调用到的MH...
But what's the difference between inline cache VS reduction of MHs.
@xushijie
Copy link
Author

Additionally, i need to answer below Q:

  1. what characteristics of MH that can be removed.
  2. When to remove during runtime.
  3. Removal of MH VS inline target method cache.
  4. What should i do if MH, which should not be removed, is removed.

@xushijie
Copy link
Author

1, 一张精确表。
2,metrics的数值和这张精确表比较,若不发生变化或者说状态不改变,则认为。。。。部分合理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment