diff options
author | 2012-10-26 13:51:26 -0700 | |
---|---|---|
committer | 2012-11-06 16:07:36 -0800 | |
commit | 02b6a78038f12c109f95eb31713cfc747f5512f1 (patch) | |
tree | c36841561a47b2ce3cf15b00fdae822e5a6c5b64 /src/gc/heap_bitmap.h | |
parent | bcc2926b9721f94c17ed98fae5264cc98f0e066f (diff) |
Parellel mark stack processing
Enabled parallel mark stack processing by using a thread pool.
Optimized object scanning by removing dependent loads for IsClass.
Performance:
Prime: ~10% speedup of partial GC.
Nakasi: ~50% speedup of partial GC.
Change-Id: I43256a068efc47cb52d93108458ea18d4e02fccc
Diffstat (limited to 'src/gc/heap_bitmap.h')
-rw-r--r-- | src/gc/heap_bitmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/heap_bitmap.h b/src/gc/heap_bitmap.h index 1610df8fe2..666fcc7dd9 100644 --- a/src/gc/heap_bitmap.h +++ b/src/gc/heap_bitmap.h @@ -38,9 +38,9 @@ namespace art { EXCLUSIVE_LOCKS_REQUIRED(Locks::heap_bitmap_lock_) { SpaceBitmap* bitmap = GetSpaceBitmap(obj); if (LIKELY(bitmap != NULL)) { - return bitmap->Clear(obj); + bitmap->Clear(obj); } else { - return large_objects_->Clear(obj); + large_objects_->Clear(obj); } } |