JDK-4194733 : Code size limit is hard-coded
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 1998-12-03
  • Updated: 2025-10-06
  • Resolved: 1999-06-22
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.
Other
1.0 beta1Fixed
Related Reports
Relates :  
Description
ingrid.yao@Eng 1998-12-03

In Compile::Compile( CompilationScope *scope ), there is code:

  // Check for really stupid bail-out cases
  if( _method->max_locals() + _method->max_stack()+TypeFunc::Parms >=
32760 || 
      _method->code_size() > 3500 ) {

Need add an option to remove the >3500 limit?  i.e.,
some MaxOptoCodeSize=NN option

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.0_beta1 FIXED IN: 1.0_beta1 INTEGRATED IN: 1.0_beta1
14-06-2004

EVALUATION This has fixed. The 3500 constant has been replaced with HugeMethodLimit rene.schmidt@eng 1998-12-03
03-12-1998

PUBLIC COMMENTS This has fixed. The 3500 constant has been replaced with HugeMethodLimit rene.schmidt@eng 1998-12-03
03-12-1998