src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Mon Jan 14 21:55:29 2013
--- new/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Mon Jan 14 21:55:29 2013

*** 33,42 **** --- 33,44 ---- T* _data; uint _length; const char* _print_format; bool _print_sum; + NOT_PRODUCT(static const T _uninitialized;) + // We are caching the sum and average to only have to calculate them once. // This is not done in an MT-safe way. It is intetened to allow single // threaded code to call sum() and average() multiple times in any order // without having to worry about the cost. bool _has_new_data;

src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File