diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-20 14:03:55 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-20 14:03:55 -0800 |
| commit | 4c1a2915e40eceeb68dbc323d28b8bf8763af83b (patch) | |
| tree | b6df7a910dfb981a44919eb33fc29aaaca02b7b2 /docs | |
| parent | 066bed5fb19102e4f560f242b0cee645f1ed8b31 (diff) | |
| download | android_dalvik-4c1a2915e40eceeb68dbc323d28b8bf8763af83b.tar.gz android_dalvik-4c1a2915e40eceeb68dbc323d28b8bf8763af83b.tar.bz2 android_dalvik-4c1a2915e40eceeb68dbc323d28b8bf8763af83b.zip | |
auto import from //branches/cupcake/...@127101
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/verifier.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/verifier.html b/docs/verifier.html index 42abc9202..656b83273 100644 --- a/docs/verifier.html +++ b/docs/verifier.html @@ -139,6 +139,12 @@ some amount of additional memory or spending additional cycles on non-DEX-optimized instructions. We don't want to throw an IllegalAccessError at verification time, since that would indicate that access to the class being verified was illegal. +<p> +One approach that might be worth pursuing: for situations like illegal +accesses, the verifier makes an in-RAM private copy of the method, and +alters the instructions there. The class object is altered to point at +the new copy of the instructions. This requires minimal memory overhead +and provides a better experience for developers. <p> The VerifyError is accompanied by detailed, if somewhat cryptic, |
