diff options
Diffstat (limited to 'libartpalette/apex')
-rw-r--r-- | libartpalette/apex/palette.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libartpalette/apex/palette.cc b/libartpalette/apex/palette.cc index 71fd39ddb4..75a3878028 100644 --- a/libartpalette/apex/palette.cc +++ b/libartpalette/apex/palette.cc @@ -218,4 +218,28 @@ palette_status_t PaletteNotifyEndJniInvocation(JNIEnv* env) { return m(env); } +palette_status_t PaletteReportLockContention(JNIEnv* env, + int32_t wait_ms, + const char* filename, + int32_t line_number, + const char* method_name, + const char* owner_filename, + int32_t owner_line_number, + const char* owner_method_name, + const char* proc_name, + const char* thread_name) { + PaletteReportLockContentionMethod m = + PaletteLoader::Instance().GetPaletteReportLockContentionMethod(); + return m(env, + wait_ms, + filename, + line_number, + method_name, + owner_filename, + owner_line_number, + owner_method_name, + proc_name, + thread_name); +} + } // extern "C" |