16#include "Gaudi/Property.h"
34 if ( !
bool(m_pointers) )
35 m_pointers =
new long* [4];
39 return StatusCode::SUCCESS;
47 return StatusCode::SUCCESS;
52 return StatusCode::SUCCESS;
59 const unsigned int maxSize = 256;
60 long **
array =
new long* [maxSize];
61 for (
unsigned int i=0; i<maxSize; ++i )
#define ATLAS_THREAD_SAFE
long * stillReachableFct(long **array)
void leakAll()
this one's definitely lost
Gaudi::Property< int > m_leakSize
Property to setup the size of the leak.
long * possibleLostFct(long **array)
this one's possible lost
Gaudi::Property< bool > m_leakInInit
Property to setup the location of the leak, in initialize (true) or execute (false)
long * indirectlyLostFct(long **array)
this one's indirectly lost
long * definitelyLostFct(long **array)
this one's definitely lost
virtual StatusCode execute() override
virtual StatusCode initialize() override
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.