United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6902000 use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
JDK-6902000 : use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points

Details
Type:
Enhancement
Submit Date:
2009-11-17
Status:
Resolved
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2010-01-14
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs17 (b06)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Tom Rodriguez wrote:

set_entry_point is only ever used with the tos states of bytecode  
templates in templateTable.cpp and none of those use the subword tos  
states like btos,ctos and stos.  Those are all smeared into itos:

   def(Bytecodes::_i2c                 , ____|____|____|____, itos,  
itos, convert             ,  _ )

The subword types don't really exist in the representation of the  
stack and locals.  Probably btos,ctos and stos could be converted into  
ShouldNotReachHere in the switch below.

tom

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b18963243361
                                     
2009-11-19



Hardware and Software, Engineered to Work Together