United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7092905 C2: Keep track of the number of dead nodes
JDK-7092905 : C2: Keep track of the number of dead nodes

Details
Type:
Enhancement
Submit Date:
2011-09-20
Status:
Resolved
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2012-12-12
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
When nodes limit is reached during compilation of a method C2 bail out compilation and disable further compilations of such method which is too drastic.

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/2aff40cb4703
User:  amurillo
Date:  2012-12-12 18:55:16 +0000

                                     
2012-12-12
Keep an (almost) accurate running count of the reachable (live) flow graph nodes. This would give a more realistic node count for various phases of C2 to decide on whether to proceed with optimizations or not. Prior to this change, C2 bails out of compilation based on the number of nodes created which typically larger than number of reachable (live) nodes. 
                                     
2012-11-28



Hardware and Software, Engineered to Work Together