src/share/vm/oops/klass.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/oops/klass.hpp	Fri Mar 18 14:58:51 2011
--- new/src/share/vm/oops/klass.hpp	Fri Mar 18 14:58:51 2011

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 1997, 2011, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 575,584 **** --- 575,585 ---- PARALLEL_GC_DECLS_PV public: // type testing operations virtual bool oop_is_instance_slow() const { return false; } + virtual bool oop_is_instanceMirror() const { return false; } virtual bool oop_is_instanceRef() const { return false; } virtual bool oop_is_array() const { return false; } virtual bool oop_is_objArray_slow() const { return false; } virtual bool oop_is_klass() const { return false; } virtual bool oop_is_thread() const { return false; }
*** 809,814 **** --- 810,819 ---- #ifndef PRODUCT void verify_vtable_index(int index); #endif }; + + inline oop klassOopDesc::java_mirror() const { return klass_part()->java_mirror(); } + + #endif // SHARE_VM_OOPS_KLASS_HPP

src/share/vm/oops/klass.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File