JDK-7162094 : LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-04-17
  • Updated: 2013-06-26
  • Resolved: 2012-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Duplicate :  
Description
LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node

Adding intValue as a late inline and running the following program crashes the VM:

public class Null {
  public static void main(String[] args) {
    Integer c = new Integer(-1);
    for (int i = 0; i < 1000000000; i++) {
      test(c);
    }
    test(null);
  }

  public static int test(Integer c) {
    return c;
  }
}

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/847da049d62f
29-06-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/847da049d62f
12-05-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/847da049d62f
17-04-2012

EVALUATION In DirectCallGenerator::generate there are two return paths, only on one is _call_node set. late inline depends on the call node and crashes.
17-04-2012