United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6258466 : CTW failure in optimize_inlining()

Details
Type:
Bug
Submit Date:
2005-04-20
Status:
Resolved
Updated Date:
2010-12-08
Project Name:
JDK
Resolved Date:
2005-06-22
Component:
hotspot
OS:
solaris_8,generic
Sub-Component:
compiler
CPU:
sparc,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2_07,6
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:

Sub Tasks

Description
CTW runs for appserver.jar and jck13classes.jar fail on Sparc and possibly other platforms.

For example,

java -server -Xss4m -verify -XX:-ShowMessageBoxOnError -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=1 -Xbootclasspath/p:/net/vmsqe.sfbay/export/backup/testbase/CompileTheWorld/jarfiles/appserver.jar

causes a SEGV.
###@###.### 2005-04-20 16:17:25 GMT

                                    

Comments
SUGGESTED FIX

See PRT webrev for complete change:

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050426070028.rasbold.c2_baseline5/workspace/webrevs/webrev-2005.04.26/index.html

If this fix is to be backported, the only required change is replacing

!     if (exact_method->holder() != actual_receiver) {
!       exact_method = NULL;
!     }
!     if (exact_method != NULL) {

with:

!     if (exact_method != NULL && exact_method->holder() == actual_receiver) {

###@###.### 2005-04-26 18:17:19 GMT
                                     
2005-04-26
EVALUATION

The fix for 6189687 left an unchecked NULL pointer reference.
###@###.### 2005-04-20 16:17:25 GMT
                                     
2005-04-20



Hardware and Software, Engineered to Work Together