1 /* |
1 /* |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1997-2009 Sun Microsystems, Inc. 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. |
63 } |
63 } |
64 } |
64 } |
65 |
65 |
66 void oopDesc::print_address_on(outputStream* st) const { |
66 void oopDesc::print_address_on(outputStream* st) const { |
67 if (PrintOopAddress) { |
67 if (PrintOopAddress) { |
68 st->print("{"); |
68 st->print("{"INTPTR_FORMAT"}", this); |
69 if (PrintOopAddress) { |
|
70 st->print(INTPTR_FORMAT, this); |
|
71 } |
|
72 st->print("}"); |
|
73 } |
69 } |
74 } |
70 } |
75 |
71 |
76 void oopDesc::print() { print_on(tty); } |
72 void oopDesc::print() { print_on(tty); } |
77 |
73 |