diff src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp @ 7633:7df93f7c14a5

8006242: G1: WorkerDataArray<T>::verify() too strict for double calculations Summary: Also reviewed by vitalyd@gmail.com. Reviewed-by: johnc, mgerdin
author brutisso
date Wed, 16 Jan 2013 12:46:27 +0100
parents bb3f6194fedb
children 194f52aa2f23
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Fri Jan 18 05:33:32 2013 -0800
+++ b/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Wed Jan 16 12:46:27 2013 +0100
@@ -35,6 +35,8 @@
   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