Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

HeapAnalyzer::Block Class Reference

#include <coherence/lang/HeapAnalyzer.hpp>

List of all members.


Detailed Description

The HeapAnalyzer::Block allows for easily verifying that a block of code does not leak memory.

 COH_ENSURE_HEAP
    {
    ... // your code here
    }

Public Member Functions

 Block ()
 Construct a ZeroBlock object.
 Block (const Block &that)
 Copy constructor for COH_ENSURE_HEAP macro.
 ~Block ()
 Destroy a Block object.

Constructor & Destructor Documentation

Block (  )  [inline]

Construct a ZeroBlock object.

This will automatically capture an initial snapshot

~Block (  )  [inline]

Destroy a Block object.

This will test that no memory has been leaked


The documentation for this class was generated from the following file:
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.