comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp @ 7969:1eae78177059

Merge
author jiangli
date Fri, 01 Feb 2013 15:25:37 -0500
parents 7df93f7c14a5
children 194f52aa2f23
comparison
equal deleted inserted replaced
7968:44c5fcd9cb25 7969:1eae78177059
32 class WorkerDataArray : public CHeapObj<mtGC> { 32 class WorkerDataArray : public CHeapObj<mtGC> {
33 T* _data; 33 T* _data;
34 uint _length; 34 uint _length;
35 const char* _print_format; 35 const char* _print_format;
36 bool _print_sum; 36 bool _print_sum;
37
38 NOT_PRODUCT(static const T _uninitialized;)
37 39
38 // We are caching the sum and average to only have to calculate them once. 40 // We are caching the sum and average to only have to calculate them once.
39 // This is not done in an MT-safe way. It is intetened to allow single 41 // This is not done in an MT-safe way. It is intetened to allow single
40 // threaded code to call sum() and average() multiple times in any order 42 // threaded code to call sum() and average() multiple times in any order
41 // without having to worry about the cost. 43 // without having to worry about the cost.