comparison src/share/vm/oops/instanceKlass.hpp @ 7969:1eae78177059

Merge
author jiangli
date Fri, 01 Feb 2013 15:25:37 -0500
parents 44c5fcd9cb25 16fb9f942703
children 3c9bc17b9403
comparison
equal deleted inserted replaced
7968:44c5fcd9cb25 7969:1eae78177059
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.
825 itable_length(), 825 itable_length(),
826 nonstatic_oop_map_size(), 826 nonstatic_oop_map_size(),
827 is_interface(), 827 is_interface(),
828 is_anonymous()); 828 is_anonymous());
829 } 829 }
830 #if INCLUDE_SERVICES
831 virtual void collect_statistics(KlassSizeStats *sz) const;
832 #endif
830 833
831 static int vtable_start_offset() { return header_size(); } 834 static int vtable_start_offset() { return header_size(); }
832 static int vtable_length_offset() { return offset_of(InstanceKlass, _vtable_len) / HeapWordSize; } 835 static int vtable_length_offset() { return offset_of(InstanceKlass, _vtable_len) / HeapWordSize; }
833 836
834 intptr_t* start_of_vtable() const { return ((intptr_t*)this) + vtable_start_offset(); } 837 intptr_t* start_of_vtable() const { return ((intptr_t*)this) + vtable_start_offset(); }