Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegionSet.cpp @ 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 | 52b4284cb496 6701abbc4441 |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17937:78bbf4d43a14 |
---|---|
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "gc_implementation/g1/heapRegionRemSet.hpp" | 26 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
27 #include "gc_implementation/g1/heapRegionSet.inline.hpp" | 27 #include "gc_implementation/g1/heapRegionSet.inline.hpp" |
28 | 28 |
29 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC | |
30 | |
29 uint FreeRegionList::_unrealistically_long_length = 0; | 31 uint FreeRegionList::_unrealistically_long_length = 0; |
30 | 32 |
31 void HeapRegionSetBase::fill_in_ext_msg(hrs_ext_msg* msg, const char* message) { | 33 void HeapRegionSetBase::fill_in_ext_msg(hrs_ext_msg* msg, const char* message) { |
32 msg->append("[%s] %s ln: %u cy: "SIZE_FORMAT, | 34 msg->append("[%s] %s ln: %u cy: "SIZE_FORMAT, |
33 name(), message, length(), total_capacity_bytes()); | 35 name(), message, length(), total_capacity_bytes()); |