Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiEnvThreadState.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 | 7b35e546ba31 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17937:78bbf4d43a14 |
---|---|
111 int n = _pops->length(); | 111 int n = _pops->length(); |
112 for (int i=0; i<n; i++) { | 112 for (int i=0; i<n; i++) { |
113 JvmtiFramePop fp = JvmtiFramePop(_pops->at(i)); | 113 JvmtiFramePop fp = JvmtiFramePop(_pops->at(i)); |
114 tty->print("%d: ", i); | 114 tty->print("%d: ", i); |
115 fp.print(); | 115 fp.print(); |
116 tty->print_cr(""); | 116 tty->cr(); |
117 } | 117 } |
118 } | 118 } |
119 #endif | 119 #endif |
120 | 120 |
121 /////////////////////////////////////////////////////////////// | 121 /////////////////////////////////////////////////////////////// |