hotspot/src/share/vm/trace/traceStream.hpp
changeset 24424 2658d7834c6e
parent 18025 b7bcf7497f93
child 24452 07e8e98ca6af
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     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 */