summaryrefslogtreecommitdiffstats
path: root/vm/compiler/Compiler.h
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2011-03-24 16:41:03 -0700
committerbuzbee <buzbee@google.com>2011-03-28 18:10:21 -0700
commit94d65255849ce9f195c971f726e8b09449ba4d14 (patch)
tree27ac3c63ae47a788acae05e86e227d77886a94d7 /vm/compiler/Compiler.h
parent47426b27d1bc59df5a0365ff94c78e9787d615d4 (diff)
downloadandroid_dalvik-94d65255849ce9f195c971f726e8b09449ba4d14.tar.gz
android_dalvik-94d65255849ce9f195c971f726e8b09449ba4d14.tar.bz2
android_dalvik-94d65255849ce9f195c971f726e8b09449ba4d14.zip
Add safepoint callback for gc
This change adds a safepoint callback registration mechanism. On a per-thread (or all-thread) basis, you pass in a function to be called at the next safe point by the target thread. That if that function returns 0, it will be automatically disarmed. If not, the callback will stay in effect and the function will be called on all subsequent safe points. GC is the expected customer of this feature. Change-Id: Icd3b93128b1fd547e142d047a12df7ae8ee646e3
Diffstat (limited to 'vm/compiler/Compiler.h')
0 files changed, 0 insertions, 0 deletions