8283689: Update the foreign linker VM implementation

Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: mcimadamore, vlivanov, rehn
This commit is contained in:
Jorn Vernee 2022-05-18 09:49:55 +00:00
parent 6a8be358d2
commit 81e4bdbe13
154 changed files with 3718 additions and 4360 deletions

View file

@ -622,7 +622,6 @@ Compile::Compile( ciEnv* ci_env, ciMethod* target, int osr_bci,
_vector_reboxing_late_inlines(comp_arena(), 2, 0, NULL),
_late_inlines_pos(0),
_number_of_mh_late_inlines(0),
_native_invokers(comp_arena(), 1, 0, NULL),
_print_inlining_stream(NULL),
_print_inlining_list(NULL),
_print_inlining_idx(0),
@ -896,7 +895,6 @@ Compile::Compile( ciEnv* ci_env,
_initial_gvn(NULL),
_for_igvn(NULL),
_number_of_mh_late_inlines(0),
_native_invokers(),
_print_inlining_stream(NULL),
_print_inlining_list(NULL),
_print_inlining_idx(0),
@ -3090,7 +3088,6 @@ void Compile::final_graph_reshaping_main_switch(Node* n, Final_Reshape_Counts& f
case Op_CallRuntime:
case Op_CallLeaf:
case Op_CallLeafVector:
case Op_CallNative:
case Op_CallLeafNoFP: {
assert (n->is_Call(), "");
CallNode *call = n->as_Call();
@ -5078,10 +5075,6 @@ void Compile::igv_print_method_to_network(const char* phase_name) {
}
#endif
void Compile::add_native_invoker(RuntimeStub* stub) {
_native_invokers.append(stub);
}
Node* Compile::narrow_value(BasicType bt, Node* value, const Type* type, PhaseGVN* phase, bool transform_res) {
if (type != NULL && phase->type(value)->higher_equal(type)) {
return value;