equal
deleted
inserted
replaced
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. |
575 PARALLEL_GC_DECLS_PV |
575 PARALLEL_GC_DECLS_PV |
576 |
576 |
577 public: |
577 public: |
578 // type testing operations |
578 // type testing operations |
579 virtual bool oop_is_instance_slow() const { return false; } |
579 virtual bool oop_is_instance_slow() const { return false; } |
|
580 virtual bool oop_is_instanceMirror() const { return false; } |
580 virtual bool oop_is_instanceRef() const { return false; } |
581 virtual bool oop_is_instanceRef() const { return false; } |
581 virtual bool oop_is_array() const { return false; } |
582 virtual bool oop_is_array() const { return false; } |
582 virtual bool oop_is_objArray_slow() const { return false; } |
583 virtual bool oop_is_objArray_slow() const { return false; } |
583 virtual bool oop_is_klass() const { return false; } |
584 virtual bool oop_is_klass() const { return false; } |
584 virtual bool oop_is_thread() const { return false; } |
585 virtual bool oop_is_thread() const { return false; } |
809 #ifndef PRODUCT |
810 #ifndef PRODUCT |
810 void verify_vtable_index(int index); |
811 void verify_vtable_index(int index); |
811 #endif |
812 #endif |
812 }; |
813 }; |
813 |
814 |
|
815 |
|
816 inline oop klassOopDesc::java_mirror() const { return klass_part()->java_mirror(); } |
|
817 |
|
818 |
814 #endif // SHARE_VM_OOPS_KLASS_HPP |
819 #endif // SHARE_VM_OOPS_KLASS_HPP |