United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6372116 OSR compilation attempted for huge methods
6372116 : OSR compilation attempted for huge methods

Details
Type:
Bug
Submit Date:
2006-01-12
Status:
Resolved
Updated Date:
2010-04-05
Project Name:
JDK
Resolved Date:
2006-01-24
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6

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

Sub Tasks

Description
The HotSpot compilers attempt to OSR-compile huge methods (greater than 8000 bytes of bytecodes).  The HotSpot compilationPolicy avoids entry-compilation of such methods.

Due to the entry-compilation policy, the compilers are not well-tested on huge methods,
and strange crashes (see 6360541) have been observed on OSR compiles of such.

The OSR and entry policies should be made consistent.

                                    

Comments
SUGGESTED FIX

See PRT webrev:

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2006/20060118064414.rasbold.c2_baseline2/workspace/webrevs/webrev-2006.01.18/index.html
                                     
2006-01-18
EVALUATION

Fix compilationPolicy.cpp to check canBeCompiled() on back-branch events, as it does on entry events.
                                     
2006-01-12



Hardware and Software, Engineered to Work Together