diff options
author | Ian Rogers <irogers@google.com> | 2012-09-07 16:53:25 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2012-09-07 17:26:33 -0700 |
commit | c8982582778cc1571b65519e1112441be59a5f83 (patch) | |
tree | 4010b35ae0ea4f21c73fd58b7162318f8868afa2 /src/class_linker.h | |
parent | b724071b67f6449589994a93d4195dda49321a47 (diff) | |
download | art-c8982582778cc1571b65519e1112441be59a5f83.zip art-c8982582778cc1571b65519e1112441be59a5f83.tar.gz art-c8982582778cc1571b65519e1112441be59a5f83.tar.bz2 |
Re-enable parallel verification.
Check that when verifying and initializing a class the lock on the class
is held.
Add logging for slow verification of a method.
Change-Id: Id51f8a108b8d1801d61ee276fab5001ddc5c0044
Diffstat (limited to 'src/class_linker.h')
-rw-r--r-- | src/class_linker.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/class_linker.h b/src/class_linker.h index c21ff71..3cee7f0 100644 --- a/src/class_linker.h +++ b/src/class_linker.h @@ -390,13 +390,11 @@ class ClassLinker { InterfaceEntry* AllocInterfaceEntry(Class* interface) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - Class* CreatePrimitiveClass(const char* descriptor, Primitive::Type type) + Class* CreatePrimitiveClass(Primitive::Type type) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - return InitializePrimitiveClass(AllocClass(sizeof(Class)), descriptor, type); + return InitializePrimitiveClass(AllocClass(sizeof(Class)), type); } - Class* InitializePrimitiveClass(Class* primitive_class, - const char* descriptor, - Primitive::Type type) + Class* InitializePrimitiveClass(Class* primitive_class, Primitive::Type type) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |