OSDN Git Service

Fix gcstress tests
authorMathieu Chartier <mathieuc@google.com>
Fri, 24 Jul 2015 23:05:55 +0000 (16:05 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 24 Jul 2015 23:09:05 +0000 (16:09 -0700)
commitc62110668b7ceac450c3abcf279476139bf4e566
tree621873058f3de913a486fdbf3ab2d8afe75c9d59
parent34e1ed2ff52b4a3a1115b6ad467d6978d2b489a3
Fix gcstress tests

We may visit the native roots multiple times (e.g. temp classes).
This used to not be handled by the SS GC but is now handle by
MarkObjectIfNotInToSpace.

Change-Id: I18226e20b36ace41c155ba4c3f54eac2244f524c
runtime/gc/collector/semi_space-inl.h
runtime/gc/collector/semi_space.cc
runtime/gc/collector/semi_space.h