Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/ostream.cpp @ 7643:3ac7d10a6572
Merge with hsx25/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 31 Jan 2013 15:42:25 +0100 |
parents | e522a00b91aa 203f64878aab |
children | 5fc51c1ecdeb |
comparison
equal
deleted
inserted
replaced
7573:17b6a63fe7c2 | 7643:3ac7d10a6572 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2013, 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. |
242 while (_position < _indentation) sp(); | 242 while (_position < _indentation) sp(); |
243 return *this; | 243 return *this; |
244 } | 244 } |
245 | 245 |
246 void outputStream::print_jlong(jlong value) { | 246 void outputStream::print_jlong(jlong value) { |
247 // N.B. Same as INT64_FORMAT | 247 print(JLONG_FORMAT, value); |
248 print(os::jlong_format_specifier(), value); | |
249 } | 248 } |
250 | 249 |
251 void outputStream::print_julong(julong value) { | 250 void outputStream::print_julong(julong value) { |
252 // N.B. Same as UINT64_FORMAT | 251 print(JULONG_FORMAT, value); |
253 print(os::julong_format_specifier(), value); | |
254 } | 252 } |
255 | 253 |
256 /** | 254 /** |
257 * This prints out hex data in a 'windbg' or 'xxd' form, where each line is: | 255 * This prints out hex data in a 'windbg' or 'xxd' form, where each line is: |
258 * <hex-address>: 8 * <hex-halfword> <ascii translation (optional)> | 256 * <hex-address>: 8 * <hex-halfword> <ascii translation (optional)> |