diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-08-05 18:15:56 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-08-06 11:34:20 -0700 |
commit | 2c26501d24d929abe096ecce44f91410290b33c0 (patch) | |
tree | be064a46a1da5feb4db07c154506063d3fd95a13 /runtime/monitor_pool.cc | |
parent | 484e2c2d3531e5bb36f0e1e12f26c708939c6579 (diff) | |
download | android_art-2c26501d24d929abe096ecce44f91410290b33c0.tar.gz android_art-2c26501d24d929abe096ecce44f91410290b33c0.tar.bz2 android_art-2c26501d24d929abe096ecce44f91410290b33c0.zip |
Add card table test.
Tests some of the functionality supported by the card table.
Removed some logcat spam from monitor_pool.
Change-Id: I1423816a72572f78aca44552effa2b4c6aac46c8
Diffstat (limited to 'runtime/monitor_pool.cc')
-rw-r--r-- | runtime/monitor_pool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/monitor_pool.cc b/runtime/monitor_pool.cc index 440a6be07b..4964aa06c5 100644 --- a/runtime/monitor_pool.cc +++ b/runtime/monitor_pool.cc @@ -52,7 +52,7 @@ void MonitorPool::AllocateChunk() { monitor_chunks_.StoreRelaxed(new_backing); capacity_ = new_capacity; old_chunk_arrays_.push_back(old_backing); - LOG(INFO) << "Resizing to capacity " << capacity_; + VLOG(monitor) << "Resizing to capacity " << capacity_; } } @@ -64,7 +64,7 @@ void MonitorPool::AllocateChunk() { CHECK_EQ(0U, reinterpret_cast<uintptr_t>(chunk) % kMonitorAlignment); // Add the chunk. - *(monitor_chunks_.LoadRelaxed()+num_chunks_) = reinterpret_cast<uintptr_t>(chunk); + *(monitor_chunks_.LoadRelaxed() + num_chunks_) = reinterpret_cast<uintptr_t>(chunk); num_chunks_++; // Set up the free list @@ -96,7 +96,7 @@ Monitor* MonitorPool::CreateMonitorInPool(Thread* self, Thread* owner, mirror::O // Enough space, or need to resize? if (first_free_ == nullptr) { - LOG(INFO) << "Allocating a new chunk."; + VLOG(monitor) << "Allocating a new chunk."; AllocateChunk(); } |