Mercurial > hg > truffle
comparison src/share/vm/oops/klass.hpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14520:f84115370178 | 14521:29ccc4cbabca |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2014, 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. |
500 virtual bool oop_is_instance_slow() const { return false; } | 500 virtual bool oop_is_instance_slow() const { return false; } |
501 virtual bool oop_is_array_slow() const { return false; } | 501 virtual bool oop_is_array_slow() const { return false; } |
502 virtual bool oop_is_objArray_slow() const { return false; } | 502 virtual bool oop_is_objArray_slow() const { return false; } |
503 virtual bool oop_is_typeArray_slow() const { return false; } | 503 virtual bool oop_is_typeArray_slow() const { return false; } |
504 public: | 504 public: |
505 virtual bool oop_is_instanceClassLoader() const { return false; } | |
505 virtual bool oop_is_instanceMirror() const { return false; } | 506 virtual bool oop_is_instanceMirror() const { return false; } |
506 virtual bool oop_is_instanceRef() const { return false; } | 507 virtual bool oop_is_instanceRef() const { return false; } |
507 | 508 |
508 // Fast non-virtual versions | 509 // Fast non-virtual versions |
509 #ifndef ASSERT | 510 #ifndef ASSERT |
697 virtual void oop_print_on (oop obj, outputStream* st); | 698 virtual void oop_print_on (oop obj, outputStream* st); |
698 | 699 |
699 virtual const char* internal_name() const = 0; | 700 virtual const char* internal_name() const = 0; |
700 | 701 |
701 // Verification | 702 // Verification |
702 virtual void verify_on(outputStream* st, bool check_dictionary); | 703 virtual void verify_on(outputStream* st); |
703 void verify(bool check_dictionary = true) { verify_on(tty, check_dictionary); } | 704 void verify() { verify_on(tty); } |
704 | 705 |
705 #ifndef PRODUCT | 706 #ifndef PRODUCT |
706 bool verify_vtable_index(int index); | 707 bool verify_vtable_index(int index); |
707 bool verify_itable_index(int index); | 708 bool verify_itable_index(int index); |
708 #endif | 709 #endif |