OSDN Git Service

Revert "Improve immune spaces logic"
authorNicolas Geoffray <ngeoffray@google.com>
Sat, 27 Feb 2016 11:30:25 +0000 (11:30 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Sat, 27 Feb 2016 11:30:25 +0000 (11:30 +0000)
commit07dbbca0b42cb8da1811de8209b4a7d4becfc7b2
tree77a5f4d06e4813c495420d6749cd9a928ac38dba
parent17b8bce064fe4c0b29117abe489b7f8c2c950d43
Revert "Improve immune spaces logic"

test is flaky. For example:

[ RUN      ] ImmuneSpacesTest.MultiImage
art/runtime/gc/collector/immune_spaces_test.cc:351: Failure
Value of: space5->Limit()
  Actual: 0xb6d72000
Expected: reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().End())
Which is: 0xb6d93000
[  FAILED  ] ImmuneSpacesTest.MultiImage (1076 ms)

Bug: 27136196

This reverts commit 17b8bce064fe4c0b29117abe489b7f8c2c950d43.

Change-Id: I9168421dd6ebabc271ed5c2cdbc5a27c211dcf5a
runtime/gc/collector/immune_spaces.cc
runtime/gc/collector/immune_spaces_test.cc