United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6860599 : nodes limit could be reached during Output phase

Details
Type:
Bug
Submit Date:
2009-07-14
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs16 (b07)

Related Reports
Backport:
Backport:

Sub Tasks

Description
One byte Nop nodes are used In debug mode for loops and calls padding in Output phase.
As result for big method the node limit could be reached. Relax nodes limit check for such case.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ea3f9723b5cf
                                     
2009-07-24
SUGGESTED FIX

Bailout compilation if nodes limit could be reached
during Output phase. Remove unneeded MachNop nodes creation
(after each block) used only to get its size.
                                     
2009-07-24
PUBLIC COMMENTS

Problem:
I got several CTW cases when without EA C2 "gracefully"
bailout compilation when nodes limit check failed during
macro nodes expansion. And with EA it passed macro nodes
expansion but crashed with ASSERT during Output phase.
One byte MachNop nodes are used in debug mode for loops
and calls alignment in Output phase. As result for a big
method the node limit could be reached.

Solution:
Bailout compilation if nodes limit could be reached
during Output phase. Remove unneeded MachNop nodes creation
(after each block) used only to get its size.
Collect additional information (inner loops and java calls
counts) during final_graph_reshaping.
Rename Final_Reshape_Counts fpu variable to frc since now
it contains more information.
                                     
2009-07-24
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/ea3f9723b5cf
                                     
2009-07-27



Hardware and Software, Engineered to Work Together