JDK-6902000 : use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-11-17
  • Updated: 2015-08-04
  • Resolved: 2010-01-14
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.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u21Fixed 7Fixed hs17Fixed
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.



EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b18963243361