equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
111 void print_val(const char* label, const char* val) { |
111 void print_val(const char* label, const char* val) { |
112 _st.print("%s = '%s'", label, val); |
112 _st.print("%s = '%s'", label, val); |
113 } |
113 } |
114 |
114 |
115 void print(const char* val) { |
115 void print(const char* val) { |
116 _st.print(val); |
116 _st.print("%s", val); |
117 } |
117 } |
118 }; |
118 }; |
119 |
119 |
120 #endif /* INCLUDE_TRACE */ |
120 #endif /* INCLUDE_TRACE */ |
121 #endif /* SHARE_VM_TRACE_TRACESTREAM_HPP */ |
121 #endif /* SHARE_VM_TRACE_TRACESTREAM_HPP */ |