| 531 | } |
| 532 | |
| 533 | void NULLC::ClearMemory() |
| 534 | { |
| 535 | usedMemory = 0; |
| 536 | |
| 537 | pool8.~ObjectBlockPool(); |
| 538 | pool16.~ObjectBlockPool(); |
| 539 | pool32.~ObjectBlockPool(); |
| 540 | pool64.~ObjectBlockPool(); |
| 541 | pool128.~ObjectBlockPool(); |
| 542 | pool256.~ObjectBlockPool(); |
| 543 | pool512.~ObjectBlockPool(); |
| 544 | |
| 545 | for(unsigned int i = 0; i < globalObjects.size(); i++) |
| 546 | NULLC::dealloc(globalObjects[i]); |
| 547 | globalObjects.clear(); |
| 548 | |
| 549 | finalizeList.clear(); |
| 550 | } |
| 551 | |
| 552 | void NULLC::ResetMemory() |
| 553 | { |
nothing calls this directly
no test coverage detected