Changeset 98d6965d for libcfa/src
- Timestamp:
- Dec 11, 2019, 7:35:37 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 312029a
- Parents:
- e307e12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/heap.cfa
re307e12 r98d6965d 10 10 // Created On : Tue Dec 19 21:58:35 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 4 21:42:46201913 // Update Count : 64 612 // Last Modified On : Sun Dec 8 21:01:31 2019 13 // Update Count : 647 14 14 // 15 15 … … 332 332 333 333 334 // #comment TD : Is this the samething as Out-of-Memory? 335 static inline void noMemory() { 336 abort( "Heap memory exhausted at %zu bytes.\n" 337 "Possible cause is very large memory allocation and/or large amount of unfreed storage allocated by the program or system/library routines.", 338 ((char *)(sbrk( 0 )) - (char *)(heapManager.heapBegin)) ); 339 } // noMemory 334 // static inline void noMemory() { 335 // abort( "Heap memory exhausted at %zu bytes.\n" 336 // "Possible cause is very large memory allocation and/or large amount of unfreed storage allocated by the program or system/library routines.", 337 // ((char *)(sbrk( 0 )) - (char *)(heapManager.heapBegin)) ); 338 // } // noMemory 340 339 341 340
Note: See TracChangeset
for help on using the changeset viewer.