diff options
author | 2012-07-19 15:28:27 -0700 | |
---|---|---|
committer | 2012-08-14 10:45:52 -0700 | |
commit | 00f7d0eaa6bd93d33bf0c1429bf4ba0b3f28abac (patch) | |
tree | 6a2172ece15c4699e6c2a67ce76f019db0a9a21d /src/compiler/CompilerIR.h | |
parent | 634ea28f78c4a138e6a1de54eae8696095422415 (diff) |
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
Diffstat (limited to 'src/compiler/CompilerIR.h')
-rw-r--r-- | src/compiler/CompilerIR.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/CompilerIR.h b/src/compiler/CompilerIR.h index 1ecf61aef5..453ccdf556 100644 --- a/src/compiler/CompilerIR.h +++ b/src/compiler/CompilerIR.h @@ -326,7 +326,6 @@ struct CompilationUnit { compiler(NULL), class_linker(NULL), dex_file(NULL), - dex_cache(NULL), class_loader(NULL), method_idx(0), code_item(NULL), @@ -436,8 +435,7 @@ struct CompilationUnit { Compiler* compiler; // Compiler driving this compiler ClassLinker* class_linker; // Linker to resolve fields and methods const DexFile* dex_file; // DexFile containing the method being compiled - DexCache* dex_cache; // DexFile's corresponding cache - ClassLoader* class_loader; // compiling method's class loader + jobject class_loader; // compiling method's class loader uint32_t method_idx; // compiling method's index into method_ids of DexFile const DexFile::CodeItem* code_item; // compiling method's DexFile code_item uint32_t access_flags; // compiling method's access flags |