equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, 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. |
68 |
68 |
69 // Dispatched operation |
69 // Dispatched operation |
70 bool can_be_primary_super_slow() const; |
70 bool can_be_primary_super_slow() const; |
71 GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots, |
71 GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots, |
72 Array<InstanceKlass*>* transitive_interfaces); |
72 Array<InstanceKlass*>* transitive_interfaces); |
73 bool compute_is_subtype_of(Klass* k); |
|
74 DEBUG_ONLY(bool is_objArray_klass_slow() const { return true; }) |
73 DEBUG_ONLY(bool is_objArray_klass_slow() const { return true; }) |
75 int oop_size(oop obj) const; |
74 int oop_size(oop obj) const; |
76 |
75 |
77 // Allocation |
76 // Allocation |
78 static Klass* allocate_objArray_klass(ClassLoaderData* loader_data, |
77 static Klass* allocate_objArray_klass(ClassLoaderData* loader_data, |