From 00f7d0eaa6bd93d33bf0c1429bf4ba0b3f28abac Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 19 Jul 2012 15:28:27 -0700 Subject: Global lock levels. Introduce the notion of the mutators/GC being a shared-exclusive (aka reader-writer) lock. Introduce globally ordered locks, analysable by annotalysis, statically at compile time. Add locking attributes to methods. More subtly, remove the heap_lock_ and split between various locks that are held for smaller periods (where work doesn't get blocked). Remove buggy Dalvik style thread transitions. Make GC use CMS in all cases when concurrent is enabled. Fix bug where suspend counts rather than debug suspend counts were sent to JDWP. Move the PathClassLoader to WellKnownClasses. In debugger refactor calls to send request and possibly suspend. Break apart different VmWait thread states. Move identity hash code to a shared method. Change-Id: Icdbfc3ce3fcccd14341860ac7305d8e97b51f5c6 --- src/compiler/Compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/Compiler.h') diff --git a/src/compiler/Compiler.h b/src/compiler/Compiler.h index 088768b2c9..00ab796a81 100644 --- a/src/compiler/Compiler.h +++ b/src/compiler/Compiler.h @@ -204,7 +204,7 @@ BasicBlock* oatFindBlock(CompilationUnit* cUnit, unsigned int codeOffset); extern "C" art::CompiledMethod* ArtCompileMethod(art::Compiler& compiler, const art::DexFile::CodeItem* code_item, uint32_t access_flags, uint32_t method_idx, - const art::ClassLoader* class_loader, + jobject class_loader, const art::DexFile& dex_file); #endif // ART_SRC_COMPILER_COMPILER_H_ -- cgit v1.2.3-59-g8ed1b