mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
6983930: CMS: Various small cleanups ca September 2010
Fixed comment/documentation typos; converted some guarantee()s to assert()s. Reviewed-by: jmasa
This commit is contained in:
parent
690e6e149c
commit
f53d569221
6 changed files with 12 additions and 17 deletions
|
@ -253,8 +253,8 @@ void PromotionInfo::print_statistics(uint worker_id) const {
|
|||
cur_spool = cur_spool->nextSpoolBlock) {
|
||||
// the first entry is just a self-pointer; indices 1 through
|
||||
// bufferSize - 1 are occupied (thus, bufferSize - 1 slots).
|
||||
guarantee((void*)cur_spool->displacedHdr == (void*)&cur_spool->displacedHdr,
|
||||
"first entry of displacedHdr should be self-referential");
|
||||
assert((void*)cur_spool->displacedHdr == (void*)&cur_spool->displacedHdr,
|
||||
"first entry of displacedHdr should be self-referential");
|
||||
slots += cur_spool->bufferSize - 1;
|
||||
blocks++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue