- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oops, it seems like i didn't leave a message properly.
tbbmalloc's operator new and operator new[] overloads in src/tbbmalloc/proxy.cpp go straight to throwing std::bad_alloc if scalable_msize(sz) returns NULL. I have installed a new_handler using std::set_new_handler(handler), and I expect this handler to be called in the new operator when tbbmalloc has run out of memory.
This is an enhancement request for future versions of tbbmalloc.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page