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. |
160 void java_lang_Class_fix_pre(objArrayHandle* methods_ptr, |
160 void java_lang_Class_fix_pre(objArrayHandle* methods_ptr, |
161 FieldAllocationCount *fac_ptr, TRAPS); |
161 FieldAllocationCount *fac_ptr, TRAPS); |
162 // Adjust the next_nonstatic_oop_offset to place the fake fields |
162 // Adjust the next_nonstatic_oop_offset to place the fake fields |
163 // before any Java fields. |
163 // before any Java fields. |
164 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset); |
164 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset); |
165 // Adjust the field allocation counts for java.dyn.MethodHandle to add |
165 // Adjust the field allocation counts for java.lang.invoke.MethodHandle to add |
166 // a fake address (void*) field. |
166 // a fake address (void*) field. |
167 void java_dyn_MethodHandle_fix_pre(constantPoolHandle cp, |
167 void java_lang_invoke_MethodHandle_fix_pre(constantPoolHandle cp, |
168 typeArrayHandle fields, |
168 typeArrayHandle fields, |
169 FieldAllocationCount *fac_ptr, TRAPS); |
169 FieldAllocationCount *fac_ptr, TRAPS); |
170 |
170 |
171 // Format checker methods |
171 // Format checker methods |
172 void classfile_parse_error(const char* msg, TRAPS); |
172 void classfile_parse_error(const char* msg, TRAPS); |