OSDN Git Service

New experimental GC stress mode
authorMathieu Chartier <mathieuc@google.com>
Sun, 14 Jun 2015 21:14:37 +0000 (14:14 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 22 Jun 2015 22:45:13 +0000 (15:45 -0700)
commit310008008c90fea246efd00cb99ee7ded97c5209
tree93ef04470ec9c883e003b0a8043b370b8f05718f
parentf7012291ed9c984e2b50d83d7a2d5758cd64c99a
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

Change-Id: Icb8e420f2048e8ee83bcca7937563166a2638f5c
cmdline/cmdline_types.h
runtime/base/mutex.h
runtime/class_linker.cc
runtime/gc/heap-inl.h
runtime/gc/heap.cc
runtime/gc/heap.h
runtime/mirror/class-inl.h
runtime/mirror/class.h
runtime/runtime.cc