commit | 8409ec440079020bbe4ad066cf18a5fadfba67d2 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue Nov 04 17:57:02 2014 -0800 |
committer | Ian Rogers <irogers@google.com> | Tue Nov 04 17:57:02 2014 -0800 |
tree | 20a5876198e3292b309b00d88345978f1f194a0e | |
parent | b5331ef9bb2ae68c392e5da3da13816bd43e5b1d [diff] [blame] |
Make thread dumping more tolerant of broken invariants during abort. Change-Id: Ie1bc20debe72f2ea2bf4c1be50cd9877c823670a
diff --git a/runtime/barrier.cc b/runtime/barrier.cc index b8edad3..5a8fbb3 100644 --- a/runtime/barrier.cc +++ b/runtime/barrier.cc
@@ -23,7 +23,7 @@ Barrier::Barrier(int count) : count_(count), - lock_("GC barrier lock"), + lock_("GC barrier lock", kThreadSuspendCountLock), condition_("GC barrier condition", lock_) { }