1472N/A * or visit www.oracle.com if you need additional information or have any
1879N/A#include "precompiled.hpp"
1879N/A#include "gc_implementation/shared/markSweep.inline.hpp"
1879N/A#include "interpreter/interpreter.hpp"
1879N/A#include "interpreter/rewriter.hpp"
1879N/A#include "memory/universe.inline.hpp"
1879N/A#include "oops/cpCacheOop.hpp"
1879N/A#include "oops/objArrayOop.hpp"
1879N/A#include "oops/oop.inline.hpp"
1879N/A#include "prims/jvmtiRedefineClassesTrace.hpp"
3932N/A#include "prims/methodHandles.hpp"
1879N/A#include "runtime/handles.inline.hpp"
3932N/A int option_bits,
2771N/A int field_index,
0N/A int field_offset,
0N/A bool is_volatile) {
0N/A int vtable_index) {
3932N/A bool change_to_virtual = false;
0N/A switch (invoke_code) {
3932N/A change_to_virtual = true;
0N/A if (change_to_virtual) {
0N/A // See also interpreterRuntime.cpp. (8/25/2000)
3932N/A assert(!method->is_final_method(), "interfaces do not have final methods; cannot link to one here");
4009N/A if (!is_f1_null()) {
3932N/A if (!has_appendix) {
3932N/A if (TraceInvokeDynamic) {
4048N/A tty->print_cr("set_method_handle bc=%d appendix="PTR_FORMAT"%s method_type="PTR_FORMAT"%s method="PTR_FORMAT" ",
3932N/A // for use with java.lang.Invokers.checkExactType, or else a CallSite object.
3932N/A // The appendix argument (if any) is added to the signature, and is counted in the parameter_size bits.
3932N/A // In principle this means that the method (with appendix) could take up to 256 parameter slots.
4048N/A if (has_method_type) {
3932N/A if (!is_secondary_entry()) {