aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/prims/whitebox.cpp
diff options
context:
space:
mode:
authordrchase <none@none>2014-05-22 15:52:41 -0400
committerdrchase <none@none>2014-05-22 15:52:41 -0400
commita2023a26c5a025b32fc29f0370e12356837dfe2a (patch)
tree3a4b14865e127e75980cb481af722dcabde2453b /src/share/vm/prims/whitebox.cpp
parent37cee6e8fedca75acdd8febe55152a502bc8de09 (diff)
downloadjdk8u_hotspot-a2023a26c5a025b32fc29f0370e12356837dfe2a.tar.gz
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
Diffstat (limited to 'src/share/vm/prims/whitebox.cpp')
-rw-r--r--src/share/vm/prims/whitebox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/vm/prims/whitebox.cpp b/src/share/vm/prims/whitebox.cpp
index 80cb0dfa5..8fdb67675 100644
--- a/src/share/vm/prims/whitebox.cpp
+++ b/src/share/vm/prims/whitebox.cpp
@@ -53,6 +53,8 @@
#include "compiler/compileBroker.hpp"
#include "runtime/compilationPolicy.hpp"
+PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
+
#define SIZE_T_MAX_VALUE ((size_t) -1)
bool WhiteBox::_used = false;