comparison src/share/vm/oops/klass.hpp @ 2491:0654ee04b214

Merge with OpenJDK.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 22 Apr 2011 15:30:53 +0200
parents d25d4ca69222 c7f3d0b4570f
children 6594e6d8bfe7
comparison
equal deleted inserted replaced
2490:29246b1d2d3c 2491:0654ee04b214
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, 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.
582 PARALLEL_GC_DECLS_PV 582 PARALLEL_GC_DECLS_PV
583 583
584 public: 584 public:
585 // type testing operations 585 // type testing operations
586 virtual bool oop_is_instance_slow() const { return false; } 586 virtual bool oop_is_instance_slow() const { return false; }
587 virtual bool oop_is_instanceMirror() const { return false; }
587 virtual bool oop_is_instanceRef() const { return false; } 588 virtual bool oop_is_instanceRef() const { return false; }
588 virtual bool oop_is_array() const { return false; } 589 virtual bool oop_is_array() const { return false; }
589 virtual bool oop_is_objArray_slow() const { return false; } 590 virtual bool oop_is_objArray_slow() const { return false; }
590 virtual bool oop_is_klass() const { return false; } 591 virtual bool oop_is_klass() const { return false; }
591 virtual bool oop_is_thread() const { return false; } 592 virtual bool oop_is_thread() const { return false; }
816 #ifndef PRODUCT 817 #ifndef PRODUCT
817 void verify_vtable_index(int index); 818 void verify_vtable_index(int index);
818 #endif 819 #endif
819 }; 820 };
820 821
822
823 inline oop klassOopDesc::java_mirror() const { return klass_part()->java_mirror(); }
824
825
821 #endif // SHARE_VM_OOPS_KLASS_HPP 826 #endif // SHARE_VM_OOPS_KLASS_HPP