JDK-6926782 : CodeBuffer size too small after 6921352
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-02-16
  • Updated: 2010-07-29
  • Resolved: 2010-03-02
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
Related Reports
Relates :  
Relates :  
Description
In the changes for 6921352 I forgot to increase the CodeBuffer size and thus we sometimes get an assert when generating code:

http://sqeweb.sfbay/nfs/tools/gtee/results/JDK7/NIGHTLY/VM/2010-02-14/Comp_Baseline/javase/linux-i586/server/comp/linux-i586_server_comp_UTIL_REGRESSION/analysis.html

#  Internal Error (/tmp/jprt/P1/B/233753.kvn/source/src/share/vm/asm/codeBuffer.hpp:169), pid=26304, tid=3011459984
#  Error: assert(allocates2(pc),"")

Comments
EVALUATION ChangeSet=http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b4b440360f1e,ChangeRequest=6926782
18-02-2010

SUGGESTED FIX Increase the CodeBuffer size but additionally emit the deopt MH handler only when it's required.
16-02-2010