Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/virtualspace.cpp @ 7623:203f64878aab
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems.
Summary: Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
author | hseigel |
---|---|
date | Thu, 17 Jan 2013 10:25:16 -0500 |
parents | 730cc4ddd550 |
children | b294421fa3c5 |
comparison
equal
deleted
inserted
replaced
7620:e94ed1591b42 | 7623:203f64878aab |
---|---|
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. |
866 | 866 |
867 void VirtualSpace::print() { | 867 void VirtualSpace::print() { |
868 tty->print ("Virtual space:"); | 868 tty->print ("Virtual space:"); |
869 if (special()) tty->print(" (pinned in memory)"); | 869 if (special()) tty->print(" (pinned in memory)"); |
870 tty->cr(); | 870 tty->cr(); |
871 tty->print_cr(" - committed: %ld", committed_size()); | 871 tty->print_cr(" - committed: " SIZE_FORMAT, committed_size()); |
872 tty->print_cr(" - reserved: %ld", reserved_size()); | 872 tty->print_cr(" - reserved: " SIZE_FORMAT, reserved_size()); |
873 tty->print_cr(" - [low, high]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low(), high()); | 873 tty->print_cr(" - [low, high]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low(), high()); |
874 tty->print_cr(" - [low_b, high_b]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low_boundary(), high_boundary()); | 874 tty->print_cr(" - [low_b, high_b]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low_boundary(), high_boundary()); |
875 } | 875 } |
876 | 876 |
877 #endif | 877 #endif |