Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlass.hpp @ 7956:16fb9f942703
6479360: PrintClassHistogram improvements
Summary: jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
Contributed-by: ioi.lam@oracle.com
author | acorn |
---|---|
date | Fri, 25 Jan 2013 15:06:18 -0500 |
parents | 212c5b9c38e7 |
children | 1eae78177059 |
comparison
equal
deleted
inserted
replaced
7950:6cf2530f7fd3 | 7956:16fb9f942703 |
---|---|
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. |
824 itable_length(), | 824 itable_length(), |
825 nonstatic_oop_map_size(), | 825 nonstatic_oop_map_size(), |
826 is_interface(), | 826 is_interface(), |
827 is_anonymous()); | 827 is_anonymous()); |
828 } | 828 } |
829 #if INCLUDE_SERVICES | |
830 virtual void collect_statistics(KlassSizeStats *sz) const; | |
831 #endif | |
829 | 832 |
830 static int vtable_start_offset() { return header_size(); } | 833 static int vtable_start_offset() { return header_size(); } |
831 static int vtable_length_offset() { return offset_of(InstanceKlass, _vtable_len) / HeapWordSize; } | 834 static int vtable_length_offset() { return offset_of(InstanceKlass, _vtable_len) / HeapWordSize; } |
832 | 835 |
833 intptr_t* start_of_vtable() const { return ((intptr_t*)this) + vtable_start_offset(); } | 836 intptr_t* start_of_vtable() const { return ((intptr_t*)this) + vtable_start_offset(); } |