Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.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 | 191174b49bec |
children | 82693fb204a5 |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17937:78bbf4d43a14 |
---|---|
25 | 25 |
26 #include "precompiled.hpp" | 26 #include "precompiled.hpp" |
27 #include "code/nmethod.hpp" | 27 #include "code/nmethod.hpp" |
28 #include "gc_implementation/g1/g1CodeCacheRemSet.hpp" | 28 #include "gc_implementation/g1/g1CodeCacheRemSet.hpp" |
29 #include "memory/iterator.hpp" | 29 #include "memory/iterator.hpp" |
30 | |
31 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC | |
30 | 32 |
31 G1CodeRootChunk::G1CodeRootChunk() : _top(NULL), _next(NULL), _prev(NULL) { | 33 G1CodeRootChunk::G1CodeRootChunk() : _top(NULL), _next(NULL), _prev(NULL) { |
32 _top = bottom(); | 34 _top = bottom(); |
33 } | 35 } |
34 | 36 |