diff options
| author | 2016-08-16 21:51:02 +0000 | |
|---|---|---|
| committer | 2016-08-16 21:51:03 +0000 | |
| commit | 3cc35c324b748c41be92a51eae68b77846b4c243 (patch) | |
| tree | 615179a7897249b7e859a1875467bc9c9300f866 /runtime/entrypoints/quick/quick_entrypoints.h | |
| parent | 3f410202b177416c785e6172138a265a91c81b0a (diff) | |
| parent | 9d4b6da934934c322536ee3309b63ce402740f49 (diff) | |
Merge "jni: Fast path for @FastNative annotated java methods"
Diffstat (limited to 'runtime/entrypoints/quick/quick_entrypoints.h')
| -rw-r--r-- | runtime/entrypoints/quick/quick_entrypoints.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/entrypoints/quick/quick_entrypoints.h b/runtime/entrypoints/quick/quick_entrypoints.h index f5b68fa922..08e0d6e41e 100644 --- a/runtime/entrypoints/quick/quick_entrypoints.h +++ b/runtime/entrypoints/quick/quick_entrypoints.h @@ -52,10 +52,13 @@ struct PACKED(4) QuickEntryPoints { // JNI entrypoints. // TODO: NO_THREAD_SAFETY_ANALYSIS due to different control paths depending on fast JNI. extern uint32_t JniMethodStart(Thread* self) NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; +extern uint32_t JniMethodFastStart(Thread* self) NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; +extern void JniMethodFastEnd(uint32_t saved_local_ref_cookie, Thread* self) + NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; extern void JniMethodEndSynchronized(uint32_t saved_local_ref_cookie, jobject locked, Thread* self) NO_THREAD_SAFETY_ANALYSIS HOT_ATTR; |