1 /* |
1 /* |
2 * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2018, 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. |
160 static void new_instance_C(Klass* instance_klass, JavaThread *thread); |
160 static void new_instance_C(Klass* instance_klass, JavaThread *thread); |
161 |
161 |
162 // Allocate storage for a objArray or typeArray |
162 // Allocate storage for a objArray or typeArray |
163 static void new_array_C(Klass* array_klass, int len, JavaThread *thread); |
163 static void new_array_C(Klass* array_klass, int len, JavaThread *thread); |
164 static void new_array_nozero_C(Klass* array_klass, int len, JavaThread *thread); |
164 static void new_array_nozero_C(Klass* array_klass, int len, JavaThread *thread); |
165 |
|
166 // Post-slow-path-allocation, pre-initializing-stores step for |
|
167 // implementing ReduceInitialCardMarks |
|
168 static void new_store_pre_barrier(JavaThread* thread); |
|
169 |
165 |
170 // Allocate storage for a multi-dimensional arrays |
166 // Allocate storage for a multi-dimensional arrays |
171 // Note: needs to be fixed for arbitrary number of dimensions |
167 // Note: needs to be fixed for arbitrary number of dimensions |
172 static void multianewarray2_C(Klass* klass, int len1, int len2, JavaThread *thread); |
168 static void multianewarray2_C(Klass* klass, int len1, int len2, JavaThread *thread); |
173 static void multianewarray3_C(Klass* klass, int len1, int len2, int len3, JavaThread *thread); |
169 static void multianewarray3_C(Klass* klass, int len1, int len2, int len3, JavaThread *thread); |