JDK-4850923 : RFE: 64-bit Method Length Limitations
  • Type: Enhancement
  • Component: specification
  • Sub-Component: vm
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: x86
  • Submitted: 2003-04-18
  • Updated: 2012-10-09
  • Resolved: 2007-07-12
Related Reports
Relates :  
Description
Name: gm110360			Date: 04/18/2003


A DESCRIPTION OF THE REQUEST :
> The method length of 32 bits is not long enough for generated byte
> code.  Will this ever be fixed?

JUSTIFICATION :
This JVM limitations limits the uses for the JVM

EXPECTED VERSUS ACTUAL BEHAVIOR :
Would like to see 64 bit method length
Only allows 32 bit method length

---------- BEGIN SOURCE ----------
Any large method
---------- END SOURCE ----------
(Review ID: 184310) 
======================================================================

Comments
EVALUATION The limitations in the Code attribute are legendary. But while this request is reasonable, the far more common complaint is that 16-bit values are used for exception table entries. In practice, we are likely to fix both problems, or neither. Therefore, I'm marking this as a duplicate of the more general request "Maximum method size is too small (64Kb)".
21-11-2006