1 /* |
1 /* |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2018, 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. |
124 Universe::heap()->used() / K, |
124 Universe::heap()->used() / K, |
125 Universe::heap()->capacity() / K); |
125 Universe::heap()->capacity() / K); |
126 |
126 |
127 fprintf(_log_fp, UINTX_FORMAT_W(6) ",", CodeCache::capacity() / K); |
127 fprintf(_log_fp, UINTX_FORMAT_W(6) ",", CodeCache::capacity() / K); |
128 |
128 |
129 fprintf(_log_fp, UINTX_FORMAT_W(6) "," UINTX_FORMAT_W(6) ",%6ld\n", |
129 fprintf(_log_fp, UINTX_FORMAT_W(6) "," UINTX_FORMAT_W(6) "," UINTX_FORMAT_W(6) "\n", |
130 handles_memory_usage / K, |
130 handles_memory_usage / K, |
131 resource_memory_usage / K, |
131 resource_memory_usage / K, |
132 OopMapCache::memory_usage() / K); |
132 OopMapCache::memory_usage() / K); |
133 fflush(_log_fp); |
133 fflush(_log_fp); |
134 } |
134 } |