JDK-6564610 : assert(UseCompiler || CompileTheWorld,"UseCompiler should be set by now.")
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_2.6
  • CPU: x86
  • Submitted: 2007-06-01
  • Updated: 2012-10-18
  • Resolved: 2011-04-24
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 7 Other
7Fixed hs21Fixed
Description
Running JDK b12 jvmg on linux-i586 trying to duplicate another bug,
hotspot.log:
Java HotSpot(TM) Client VM warning: CodeCache is full. Compiler has been disabled

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/e2eb7f986c64
31-03-2011

EVALUATION It is wrong to assert that UseCompiler is set because it can change asychronously at any point. This is what happens in this bug: there is a race between a check for UseCompiler in NonTieredCompPolicy::event() and then asserts in method_invocation_event() and method_back_branch_event(). The value of UseCompiler can change in-between. These invalid asserts should be removed.
30-03-2011