diff options
author | 2022-03-04 13:23:59 +0000 | |
---|---|---|
committer | 2022-03-08 09:32:34 +0000 | |
commit | 6ec990559f0da11e0b31a9aa6fda7e224a580bda (patch) | |
tree | 8486975b15f27b3823544fc30c98938b945c4126 /runtime/jni/java_vm_ext.h | |
parent | 1f5b158f5c111f3c81ec374e0aead39273e2f94e (diff) |
Eagerly loopkup native symbols in zygote.
To avoid forked apps dirtying ArtMethods in the boot image.
Test: imgdiag
Bug: 162110941
Change-Id: Ib2be1b4e5ea55d010c5a795f9b24cb65b2e4474d
Diffstat (limited to 'runtime/jni/java_vm_ext.h')
-rw-r--r-- | runtime/jni/java_vm_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jni/java_vm_ext.h b/runtime/jni/java_vm_ext.h index 8fa716e0ae..08de18b2ac 100644 --- a/runtime/jni/java_vm_ext.h +++ b/runtime/jni/java_vm_ext.h @@ -123,7 +123,7 @@ class JavaVMExt : public JavaVM { * Returns a pointer to the code for the native method 'm', found * using dlsym(3) on every native library that's been loaded so far. */ - void* FindCodeForNativeMethod(ArtMethod* m) + void* FindCodeForNativeMethod(ArtMethod* m, std::string* error_msg, bool can_suspend) REQUIRES_SHARED(Locks::mutator_lock_); void DumpForSigQuit(std::ostream& os) |