Mercurial > hg > truffle
comparison src/share/vm/runtime/deoptimization.hpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f6f3bb0ee072 |
children | 957c266d8bc5 da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
127 | 127 |
128 // Interface used for unpacking deoptimized frames | 128 // Interface used for unpacking deoptimized frames |
129 | 129 |
130 // UnrollBlock is returned by fetch_unroll_info() to the deoptimization handler (blob). | 130 // UnrollBlock is returned by fetch_unroll_info() to the deoptimization handler (blob). |
131 // This is only a CheapObj to ease debugging after a deopt failure | 131 // This is only a CheapObj to ease debugging after a deopt failure |
132 class UnrollBlock : public CHeapObj { | 132 class UnrollBlock : public CHeapObj<mtCompiler> { |
133 private: | 133 private: |
134 int _size_of_deoptimized_frame; // Size, in bytes, of current deoptimized frame | 134 int _size_of_deoptimized_frame; // Size, in bytes, of current deoptimized frame |
135 int _caller_adjustment; // Adjustment, in bytes, to caller's SP by initial interpreted frame | 135 int _caller_adjustment; // Adjustment, in bytes, to caller's SP by initial interpreted frame |
136 int _number_of_frames; // Number frames to unroll | 136 int _number_of_frames; // Number frames to unroll |
137 int _total_frame_sizes; // Total of number*sizes frames | 137 int _total_frame_sizes; // Total of number*sizes frames |