| Summary: | HeapStd should support unlimited "heap size" | ||
|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Sasha Slijepcevic <sascha> |
| Component: | Runtime | Assignee: | Vikram Adiga <vikram.adiga> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cring, d-russo, dfriedland, karl |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | targets: 3.25.00 | ||
| Bug Depends on: | 292207 | ||
| Bug Blocks: | |||
|
Description
Sasha Slijepcevic
A special parameter HEAP_MAX has been added into the HeapStd module. Using this parameter when creating HeapStd instance will disable the size checking and allow unlimited memory mode (works as long as malloc() keeps allocating memory) Also, if the Memory.defaultHeapInstance is not initialized, a HeapStd instance of size HEAP_MAX will be assigned to it by default. Fix will be in released in the next xdc tree release (xdc-z05). Verified against 3.25.00.40 using the native Linux targets and C64P ELF. I did not create a default heap in the config script, and I verified that in that case a HeapStd heap is created with the size of ~0U. Then, using Memory_getStats function, I verified that the size of the heap is ~0U at runtime. shipped in 3.25.00.48: http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_25_00_48/index_FDS.html. |