View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023393 | Community | OCCT:Foundation Classes | public | 2012-08-19 10:59 | 2012-11-16 13:17 |
Reporter | Roman Lygin | Assigned To | Roman Lygin | ||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.4 | Fixed in Version | 6.5.4 | ||
Summary | 0023393: Improve usability of OSD_MAllocHook::CollectBySize | ||||
Description | 1. Fields of OSD_MAllocHook::CollectBySize are made public (not private) to enable access for debugging purposes. 2. Added field myMaxAllocSize to denote maximum tracked size This will improve usability of the hook due to ability to access its contents programmatically, not only via a dump file generated by MakeReport(). For instance a regression test for 0023392 could be extended with a check if (OSD_MAllocHook::GetCollectBySize()->myTotalLeftSize == 0) { //OK } else { //FAIL } | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0023392 | closed | Roman Lygin | Memory leak in OCAF in debug mode |
|
Fix pushed to the repository |
|
The fix is OK for me. No testing is needed. |
|
Test case will be added after testing in debug mode. In optimize mode we get empty report file 'cause function OSD_MAllocHook::CollectBySize::MakeReport does not go into the condition "if (myArray[i].nbAlloc > 0 || myArray[i].nbFree > 0} " |
occt: master 1cc1abe1 2012-08-19 07:01:32 Details Diff |
0023393: Improve usability of OSD_MAllocHook::CollectBySize Usability of OSD_MAllocHook::CollectBySize was improved: - fields of OSD_MAllocHook::CollectBySize are made public (not private) to enable access for debugging purposes. - added field myMaxAllocSize to denote maximum tracked size |
Affected Issues 0023393 |
|
mod - src/OSD/OSD_MAllocHook.cxx | Diff File | ||
mod - src/OSD/OSD_MAllocHook.hxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-19 10:59 | Roman Lygin | New Issue | |
2012-08-19 10:59 | Roman Lygin | Assigned To | => abv |
2012-08-19 11:02 | Roman Lygin | Note Added: 0021283 | |
2012-08-19 11:02 | Roman Lygin | Status | new => resolved |
2012-08-19 11:25 |
|
Assigned To | abv => msv |
2012-08-20 17:33 |
|
Note Added: 0021291 | |
2012-08-20 17:33 |
|
Assigned To | msv => bugmaster |
2012-08-20 17:33 |
|
Status | resolved => reviewed |
2012-08-23 13:06 |
|
Relationship added | related to 0023392 |
2012-08-23 13:25 | apn | Note Added: 0021322 | |
2012-08-23 13:27 | apn | Note Edited: 0021322 | |
2012-08-23 13:28 | apn | Status | reviewed => tested |
2012-08-27 16:17 |
|
Changeset attached | => occt master 1cc1abe1 |
2012-08-27 16:17 |
|
Assigned To | bugmaster => rln |
2012-08-27 16:17 |
|
Status | tested => verified |
2012-08-27 16:17 |
|
Resolution | open => fixed |
2012-08-31 11:59 |
|
Assigned To | rln => Roman Lygin |
2012-09-03 17:47 | bugmaster | Target Version | => 6.5.4 |
2012-11-16 13:14 | bugmaster | Fixed in Version | => 6.5.4 |
2012-11-16 13:17 | bugmaster | Status | verified => closed |