equal
deleted
inserted
replaced
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 |