comparison src/share/vm/oops/method.cpp @ 23614:32b682649973 jdk8u75-b04

8132051: Better byte behavior Reviewed-by: coleenp, roland
author kevinw
date Fri, 15 Jan 2016 22:33:15 +0000
parents bf41eee321e5
children cc78c97abff8
comparison
equal deleted inserted replaced
23613:b374548dcb48 23614:32b682649973
1 /* 1 /*
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
1121 m->set_constants(cp()); 1121 m->set_constants(cp());
1122 m->set_name_index(_imcp_invoke_name); 1122 m->set_name_index(_imcp_invoke_name);
1123 m->set_signature_index(_imcp_invoke_signature); 1123 m->set_signature_index(_imcp_invoke_signature);
1124 assert(MethodHandles::is_signature_polymorphic_name(m->name()), ""); 1124 assert(MethodHandles::is_signature_polymorphic_name(m->name()), "");
1125 assert(m->signature() == signature, ""); 1125 assert(m->signature() == signature, "");
1126 #ifdef CC_INTERP
1127 ResultTypeFinder rtf(signature); 1126 ResultTypeFinder rtf(signature);
1128 m->set_result_index(rtf.type()); 1127 m->constMethod()->set_result_type(rtf.type());
1129 #endif
1130 m->compute_size_of_parameters(THREAD); 1128 m->compute_size_of_parameters(THREAD);
1131 m->init_intrinsic_id(); 1129 m->init_intrinsic_id();
1132 assert(m->is_method_handle_intrinsic(), ""); 1130 assert(m->is_method_handle_intrinsic(), "");
1133 #ifdef ASSERT 1131 #ifdef ASSERT
1134 if (!MethodHandles::is_signature_polymorphic(m->intrinsic_id())) m->print(); 1132 if (!MethodHandles::is_signature_polymorphic(m->intrinsic_id())) m->print();