26 #define SHARE_VM_UTILITIES_OSTREAM_HPP |
26 #define SHARE_VM_UTILITIES_OSTREAM_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "runtime/timer.hpp" |
29 #include "runtime/timer.hpp" |
30 |
30 |
|
31 class GCId; |
31 DEBUG_ONLY(class ResourceMark;) |
32 DEBUG_ONLY(class ResourceMark;) |
32 |
33 |
33 // Output streams for printing |
34 // Output streams for printing |
34 // |
35 // |
35 // Printing guidelines: |
36 // Printing guidelines: |
105 void date_stamp(bool guard, const char* prefix, const char* suffix); |
106 void date_stamp(bool guard, const char* prefix, const char* suffix); |
106 // A simplified call that includes a suffix of ": " |
107 // A simplified call that includes a suffix of ": " |
107 void date_stamp(bool guard) { |
108 void date_stamp(bool guard) { |
108 date_stamp(guard, "", ": "); |
109 date_stamp(guard, "", ": "); |
109 } |
110 } |
|
111 void gclog_stamp(const GCId& gc_id); |
110 |
112 |
111 // portable printing of 64 bit integers |
113 // portable printing of 64 bit integers |
112 void print_jlong(jlong value); |
114 void print_jlong(jlong value); |
113 void print_julong(julong value); |
115 void print_julong(julong value); |
114 |
116 |