| 5513 | { } |
| 5514 | |
| 5515 | ~InitPool() |
| 5516 | { |
| 5517 | // m_pool will be deleted by InitCDS dtor after cds termination |
| 5518 | // some memory could still be not freed until that moment |
| 5519 | |
| 5520 | #ifdef DEBUG_CDS_MEMORY |
| 5521 | char str[256]; |
| 5522 | sprintf(str, "CCH list's common pool stats:\n" |
| 5523 | " usage = %llu\n" |
| 5524 | " mapping = %llu\n" |
| 5525 | " max usage = %llu\n" |
| 5526 | " max mapping = %llu\n" |
| 5527 | "\n", |
| 5528 | m_stats.getCurrentUsage(), |
| 5529 | m_stats.getCurrentMapping(), |
| 5530 | m_stats.getMaximumUsage(), |
| 5531 | m_stats.getMaximumMapping() |
| 5532 | ); |
| 5533 | gds__log(str); |
| 5534 | #endif |
| 5535 | } |
| 5536 | |
| 5537 | void* alloc(size_t size) |
| 5538 | { |
nothing calls this directly
no test coverage detected