JDK-7000349 : Tiered reacts incorrectly to C1 compilation failures
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-11-16
  • Updated: 2011-04-23
  • Resolved: 2011-04-23
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
6u25Fixed 7Fixed hs20Fixed
Description
Tiered has the following problems with C1 compile failures:

1. Compile broker marks method as non-compilatable at all levels if C1 compilation fails because C1 doesn't fill the failure_reason in ciEnv.
2. If a method cannot be compiled at any of the C1 levels the tiered policy tries to immediately compile it with C2 instead of continuing profiling in the interpreter.

Also, C1 needs to report the failure reason.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/build/hotspot/rev/22ef3370343b
25-12-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/22ef3370343b
17-11-2010