equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2016, 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. |
162 _num_monitors = monitors; |
162 _num_monitors = monitors; |
163 assert(reserved_argument_area_size >= 0, "not set"); |
163 assert(reserved_argument_area_size >= 0, "not set"); |
164 _reserved_argument_area_size = MAX2(4, reserved_argument_area_size) * BytesPerWord; |
164 _reserved_argument_area_size = MAX2(4, reserved_argument_area_size) * BytesPerWord; |
165 |
165 |
166 _argcount = method->arg_size(); |
166 _argcount = method->arg_size(); |
167 _argument_locations = new intArray(_argcount, -1); |
167 _argument_locations = new intArray(_argcount, _argcount, -1); |
168 _incoming_arguments = java_calling_convention(signature_type_array_for(method), false); |
168 _incoming_arguments = java_calling_convention(signature_type_array_for(method), false); |
169 _oop_map_arg_count = _incoming_arguments->reserved_stack_slots(); |
169 _oop_map_arg_count = _incoming_arguments->reserved_stack_slots(); |
170 |
170 |
171 int java_index = 0; |
171 int java_index = 0; |
172 for (int i = 0; i < _incoming_arguments->length(); i++) { |
172 for (int i = 0; i < _incoming_arguments->length(); i++) { |