Mercurial > hg > graal-compiler
diff src/share/vm/oops/klass.hpp @ 7969:1eae78177059
Merge
author | jiangli |
---|---|
date | Fri, 01 Feb 2013 15:25:37 -0500 |
parents | 44c5fcd9cb25 16fb9f942703 |
children | 3c9bc17b9403 |
line wrap: on
line diff
--- a/src/share/vm/oops/klass.hpp Thu Jan 24 10:57:38 2013 -0800 +++ b/src/share/vm/oops/klass.hpp Fri Feb 01 15:25:37 2013 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -91,6 +91,7 @@ class ClassLoaderData; class klassVtable; class ParCompactionManager; +class KlassSizeStats; class Klass : public Metadata { friend class VMStructs; @@ -477,6 +478,9 @@ // Size of klass in word size. virtual int size() const = 0; +#if INCLUDE_SERVICES + virtual void collect_statistics(KlassSizeStats *sz) const; +#endif // Returns the Java name for a class (Resource allocated) // For arrays, this returns the name of the element with a leading '['.