7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node

Tue, 17 Apr 2012 11:04:22 -0700

author
never
date
Tue, 17 Apr 2012 11:04:22 -0700
changeset 3745
847da049d62f
parent 3744
3576af4cb939
child 3746
df3d4a91f7f6

7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node
Reviewed-by: never, twisti
Contributed-by: nils.eliasson@oracle.com

src/share/vm/opto/callGenerator.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/callGenerator.cpp	Wed Apr 11 19:15:46 2012 -0700
     1.2 +++ b/src/share/vm/opto/callGenerator.cpp	Tue Apr 17 11:04:22 2012 -0700
     1.3 @@ -137,6 +137,7 @@
     1.4    }
     1.5  
     1.6    CallStaticJavaNode *call = new (kit.C, tf()->domain()->cnt()) CallStaticJavaNode(tf(), target, method(), kit.bci());
     1.7 +  _call_node = call;  // Save the call node in case we need it later
     1.8    if (!is_static) {
     1.9      // Make an explicit receiver null_check as part of this call.
    1.10      // Since we share a map with the caller, his JVMS gets adjusted.
    1.11 @@ -155,7 +156,6 @@
    1.12    kit.set_edges_for_java_call(call, false, _separate_io_proj);
    1.13    Node* ret = kit.set_results_for_java_call(call, _separate_io_proj);
    1.14    kit.push_node(method()->return_type()->basic_type(), ret);
    1.15 -  _call_node = call;  // Save the call node in case we need it later
    1.16    return kit.transfer_exceptions_into_jvms();
    1.17  }
    1.18  

mercurial