summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-06-14 14:14:37 -0700
committerMathieu Chartier <mathieuc@google.com>2015-06-22 16:10:37 -0700
commitbad9c7b7f88689133cae59d9ccae231822a2020c (patch)
treeaa7fcd42eaefd4e246846bb6b2fa4f1142e473aa /runtime/base
parent7695200065c2e81b40096e1018a0d73e7391da13 (diff)
downloadart-bad9c7b7f88689133cae59d9ccae231822a2020c.tar.gz
art-bad9c7b7f88689133cae59d9ccae231822a2020c.tar.bz2
art-bad9c7b7f88689133cae59d9ccae231822a2020c.zip
New experimental GC stress mode
Tries to do a GC for every unique call stack (up to 16 frames). The goal is to catch moving GC bugs and lock violations without being rediculously slow. Some tests fail on 64 bits, 32 bit host doesn't work. N5 is booting. Added runtime -Xgc options: gcstress and nogcstress. Bug: 21664466 (cherry picked from commit 310008008c90fea246efd00cb99ee7ded97c5209) Change-Id: Icb8e420f2048e8ee83bcca7937563166a2638f5c
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h
index 0ab148e37e..aa91ca161d 100644
--- a/runtime/base/mutex.h
+++ b/runtime/base/mutex.h
@@ -61,6 +61,7 @@ enum LockLevel {
kAbortLock,
kJdwpSocketLock,
kRegionSpaceRegionLock,
+ kTransactionLogLock,
kReferenceQueueSoftReferencesLock,
kReferenceQueuePhantomReferencesLock,
kReferenceQueueFinalizerReferencesLock,
@@ -77,7 +78,6 @@ enum LockLevel {
kDexFileMethodInlinerLock,
kDexFileToMethodInlinerMapLock,
kMarkSweepMarkStackLock,
- kTransactionLogLock,
kInternTableLock,
kOatFileSecondaryLookupLock,
kDefaultMutexLevel,