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. |
59 static TypeArrayKlass* create_klass(BasicType type, TRAPS) { |
59 static TypeArrayKlass* create_klass(BasicType type, TRAPS) { |
60 return create_klass(type, external_name(type), THREAD); |
60 return create_klass(type, external_name(type), THREAD); |
61 } |
61 } |
62 |
62 |
63 int oop_size(oop obj) const; |
63 int oop_size(oop obj) const; |
64 |
|
65 bool compute_is_subtype_of(Klass* k); |
|
66 |
64 |
67 // Allocation |
65 // Allocation |
68 typeArrayOop allocate_common(int length, bool do_zero, TRAPS); |
66 typeArrayOop allocate_common(int length, bool do_zero, TRAPS); |
69 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } |
67 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } |
70 oop multi_allocate(int rank, jint* sizes, TRAPS); |
68 oop multi_allocate(int rank, jint* sizes, TRAPS); |