src/share/vm/jfr/writers/jfrWriterHost.inline.hpp

changeset 9941
45c8de52649c
parent 9858
b985cbb00e68
child 9947
db357034b763
equal deleted inserted replaced
9940:610401238989 9941:45c8de52649c
31 #include "jfr/writers/jfrEncoding.hpp" 31 #include "jfr/writers/jfrEncoding.hpp"
32 #include "jfr/writers/jfrWriterHost.hpp" 32 #include "jfr/writers/jfrWriterHost.hpp"
33 #include "memory/resourceArea.hpp" 33 #include "memory/resourceArea.hpp"
34 #include "oops/oop.hpp" 34 #include "oops/oop.hpp"
35 #include "oops/symbol.hpp" 35 #include "oops/symbol.hpp"
36 //#include "oops/typeArrayOop.inline.hpp" - XXX
37 36
38 inline bool compressed_integers() { 37 inline bool compressed_integers() {
39 static const bool comp_integers = JfrOptionSet::compressed_integers(); 38 static const bool comp_integers = JfrOptionSet::compressed_integers();
40 return comp_integers; 39 return comp_integers;
41 } 40 }
257 template <typename BE, typename IE, typename WriterPolicyImpl> 256 template <typename BE, typename IE, typename WriterPolicyImpl>
258 void WriterHost<BE, IE, WriterPolicyImpl>::write(const Method* method) { 257 void WriterHost<BE, IE, WriterPolicyImpl>::write(const Method* method) {
259 tag_write(this, method); 258 tag_write(this, method);
260 } 259 }
261 260
262 // XXX
263 // template <typename BE, typename IE, typename WriterPolicyImpl>
264 // void WriterHost<BE, IE, WriterPolicyImpl>::write(const PackageEntry* package) {
265 // tag_write(this, package);
266 // }
267
268 template <typename BE, typename IE, typename WriterPolicyImpl> 261 template <typename BE, typename IE, typename WriterPolicyImpl>
269 void WriterHost<BE, IE, WriterPolicyImpl>::write(const Symbol* symbol) { 262 void WriterHost<BE, IE, WriterPolicyImpl>::write(const Symbol* symbol) {
270 ResourceMark rm; 263 ResourceMark rm;
271 write_utf8(symbol != NULL ? symbol->as_C_string() : NULL); 264 write_utf8(symbol != NULL ? symbol->as_C_string() : NULL);
272 } 265 }

mercurial