JDK-8181831 : [Graal] compiler/whitebox tests fail to trigger OSR compilation
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10,15,16
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-06-08
  • Updated: 2021-02-05
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
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Following tests fails with   "on exception 'private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled':" when running with Graal:

  compiler/whitebox/ClearMethodStateTest.java
  compiler/whitebox/EnqueueMethodForCompilationTest.java
  compiler/whitebox/MakeMethodNotCompilableTest.java


Comments
ILW = Tests fail to trigger OSR compilation, with Graal which is experimental for AOT in JDK 9, no workaround = MLH = P4
09-06-2017

The tests use compiler directives that do not work with Graal (JDK-8181753). Graal may also perform OSR compilations differently than C1/C2. Marking this as testbug.
09-06-2017

Steps to reproduce: > jtreg -vt -k:\!ignore -javaoptions:"-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.compiler=graal" -jdk:HS10 -dir:hotspot/test compiler/whitebox/ClearMethodStateTest.java
08-06-2017