Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegionSet.hpp @ 17937:78bbf4d43a14
8037816: Fix for 8036122 breaks build with Xcode5/clang
8043029: Change 8037816 breaks HS build with older GCC versions which don't support diagnostic pragmas
8043164: Format warning in traceStream.hpp
Summary: Backport of main fix + two corrections, enables clang compilation, turns on format attributes, corrects/mutes warnings
Reviewed-by: kvn, coleenp, iveresov, twisti
author | drchase |
---|---|
date | Thu, 22 May 2014 15:52:41 -0400 |
parents | 8ee855b4e667 |
children | 3f2894c5052e |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17937:78bbf4d43a14 |
---|---|
160 // assert/guarantee-specific message it also prints out the values of | 160 // assert/guarantee-specific message it also prints out the values of |
161 // the fields of the associated set. This can be very helpful in | 161 // the fields of the associated set. This can be very helpful in |
162 // diagnosing failures. | 162 // diagnosing failures. |
163 class hrs_ext_msg : public hrs_err_msg { | 163 class hrs_ext_msg : public hrs_err_msg { |
164 public: | 164 public: |
165 hrs_ext_msg(HeapRegionSetBase* set, const char* message) : hrs_err_msg("") { | 165 hrs_ext_msg(HeapRegionSetBase* set, const char* message) : hrs_err_msg("%s","") { |
166 set->fill_in_ext_msg(this, message); | 166 set->fill_in_ext_msg(this, message); |
167 } | 167 } |
168 }; | 168 }; |
169 | 169 |
170 #define hrs_assert_sets_match(_set1_, _set2_) \ | 170 #define hrs_assert_sets_match(_set1_, _set2_) \ |