Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/oop.cpp @ 665:c89f86385056
6814659: separable cleanups and subroutines for 6655638
Summary: preparatory but separable changes for method handles
Reviewed-by: kvn, never
author | jrose |
---|---|
date | Fri, 20 Mar 2009 23:19:36 -0700 |
parents | d1605aabd0a1 |
children | 4e6abf09f540 |
comparison
equal
deleted
inserted
replaced
647:bd441136a5ce | 665:c89f86385056 |
---|---|
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 |