Commit 7c73dd1c authored by Hans Boehm's avatar Hans Boehm
Browse files

Revert "Revert "Prevent overflows for concurrent_start_bytes_ sum""

This reverts commit 83ba9b97.

It also fixes a bug exposed by the original CL, and cleans up a
couple of related issues:

- CheckConcurrentGCForNative was renamed to reflect the fact that
it does not just deal with concurrent GC.

- In the non-concurrent case, concurrent_start_bytes_ is not
meaningful; use target_footprint_ instead.

- UnsignedSum should use >= instead of > .

The middle one of these caused the test failures observed with the
previous CL.

Test: Build without read barrier, and ran with --runtime-option=-Xgc:SS

Change-Id: Iae004c453bf2cae2739df66b6797af4a792886fc
parent 8197e77c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment