Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/tenuredGeneration.cpp @ 6:73e96e5c30df
6624765: Guarantee failure "Unexpected dirty card found"
Summary: In verification take into account partial coverage of a region by a card and expansion of the card table.
Reviewed-by: ysr, apetrusenko
author | jmasa |
---|---|
date | Fri, 15 Feb 2008 07:01:10 -0800 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
5:f21b879b4c72 | 6:73e96e5c30df |
---|---|
407 // Verify that any retained parallel allocation buffers do not | 407 // Verify that any retained parallel allocation buffers do not |
408 // intersect with dirty cards. | 408 // intersect with dirty cards. |
409 void TenuredGeneration::verify_alloc_buffers_clean() { | 409 void TenuredGeneration::verify_alloc_buffers_clean() { |
410 if (UseParNewGC) { | 410 if (UseParNewGC) { |
411 for (uint i = 0; i < ParallelGCThreads; i++) { | 411 for (uint i = 0; i < ParallelGCThreads; i++) { |
412 _rs->verify_empty(_alloc_buffers[i]->range()); | 412 _rs->verify_aligned_region_empty(_alloc_buffers[i]->range()); |
413 } | 413 } |
414 } | 414 } |
415 } | 415 } |
416 | |
416 #else // SERIALGC | 417 #else // SERIALGC |
417 void TenuredGeneration::retire_alloc_buffers_before_full_gc() {} | 418 void TenuredGeneration::retire_alloc_buffers_before_full_gc() {} |
418 void TenuredGeneration::verify_alloc_buffers_clean() {} | 419 void TenuredGeneration::verify_alloc_buffers_clean() {} |
419 #endif // SERIALGC | 420 #endif // SERIALGC |
420 | 421 |