equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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. |
132 tty->print_cr("code size = %6dK bytes", (int)_code->used_space()/1024); |
132 tty->print_cr("code size = %6dK bytes", (int)_code->used_space()/1024); |
133 tty->print_cr("total space = %6dK bytes", (int)_code->total_space()/1024); |
133 tty->print_cr("total space = %6dK bytes", (int)_code->total_space()/1024); |
134 tty->print_cr("wasted space = %6dK bytes", (int)_code->available_space()/1024); |
134 tty->print_cr("wasted space = %6dK bytes", (int)_code->available_space()/1024); |
135 tty->cr(); |
135 tty->cr(); |
136 tty->print_cr("# of codelets = %6d" , _code->number_of_stubs()); |
136 tty->print_cr("# of codelets = %6d" , _code->number_of_stubs()); |
137 tty->print_cr("avg codelet size = %6d bytes", _code->used_space() / _code->number_of_stubs()); |
137 if (_code->number_of_stubs() != 0) { |
138 tty->cr(); |
138 tty->print_cr("avg codelet size = %6d bytes", _code->used_space() / _code->number_of_stubs()); |
|
139 tty->cr(); |
|
140 } |
139 _code->print(); |
141 _code->print(); |
140 tty->print_cr("----------------------------------------------------------------------"); |
142 tty->print_cr("----------------------------------------------------------------------"); |
141 tty->cr(); |
143 tty->cr(); |
142 } |
144 } |
143 |
145 |