JDK-7092905 : C2: Keep track of the number of dead nodes
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.
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.
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.