diff options
Diffstat (limited to 'runtime/runtime_callbacks.h')
| -rw-r--r-- | runtime/runtime_callbacks.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/runtime_callbacks.h b/runtime/runtime_callbacks.h index e580e7875e..d321254e17 100644 --- a/runtime/runtime_callbacks.h +++ b/runtime/runtime_callbacks.h @@ -21,12 +21,14 @@ #include "base/macros.h" #include "base/mutex.h" +#include "dex_file.h" #include "handle.h" namespace art { namespace mirror { class Class; +class ClassLoader; } // namespace mirror class ClassLoadCallback; @@ -99,6 +101,15 @@ class RuntimeCallbacks { void NextRuntimePhase(RuntimePhaseCallback::RuntimePhase phase) REQUIRES_SHARED(Locks::mutator_lock_); + void ClassPreDefine(const char* descriptor, + Handle<mirror::Class> temp_class, + Handle<mirror::ClassLoader> loader, + const DexFile& initial_dex_file, + const DexFile::ClassDef& initial_class_def, + /*out*/DexFile const** final_dex_file, + /*out*/DexFile::ClassDef const** final_class_def) + REQUIRES_SHARED(Locks::mutator_lock_); + private: std::vector<ThreadLifecycleCallback*> thread_callbacks_ GUARDED_BY(Locks::mutator_lock_); |