c++ - What is "allocation context"? -


i'm student , have research memory leak detection. in many papers talking allocation context. don't know means. can't find definition of allocation context (or translation, i'm germany).

as example, quote paper (detecting memory leaks through introspective dynamic behavior modeling using machine learning):

the key idea behind using machine learning leaking object discernible observing lifetimes of other similar objects. is, object can regarded having leaked when accrues high degree of staleness not observed other supposedly similar objects, i.e., objects same allocation context.

or:

to work around this, work takes inspiration previous research on object lifetime prediction [4, 20]. according these works, lifetime of object correlated allocation context. since staleness of object bounded lifetime, object staleness transitively correlated allocation context.

could explain me easy possible?

edit:

the abstract:

this paper expands staleness-based memory leak detection presenting machine learning-based framework. proposed framework based on idea object stal- eness can better leveraged in regard similarity of ob- jects; i.e., object more have leaked if shows signicantly high staleness not observed other similar objects same allocation context. central part of proposed framework modeling of heap objects. end, framework observes staleness of objects during representative run of ap- plication. observed data, framework generates training examples, contain instances of hypothet- ical leaks. via machine learning, proposed framework replaces error-prone user-denable staleness predicates used in previous research model-based prediction. framework tested using both synthetic , real- world examples. evaluation synthetic leakage work- loads of spec2006 benchmarks shows proposed method achieves optimal accuracy permitted staleness- based leak detection. moreover, incorporating allocation context model, proposed method achieves higher accuracy possible object staleness alone. evaluation real-world memory leaks demonstrates proposed method eective detecting re- ported bugs high accuracy.

i got response 1 of authors. definition follows:

allocation context

it refers call stack contents @ time of allocation. example, if allocation site contained in function foo , function called main (during execution), allocation context allocation site (main, main: call@foo, foo: malloc(...)).


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -