JDK-8308041 : [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-13
  • Updated: 2024-08-20
  • Resolved: 2023-05-16
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 21
21 b23Fixed
Related Reports
Relates :  
Description
The WB_IsGCSupportedByJVMCICompiler function in whitebox.cpp must use the same JVMCI environment (i.e. jarjvmci or libjvmci) that will be used by the CompileBroker. Otherwise, the question is being asked to the wrong JVMCI compiler implementation (which may not even exist in one of the 2 possible JVMCI environments).
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/13971 Date: 2023-05-13 19:09:46 +0000
20-08-2024

Changeset: c9b6bb5b Author: Doug Simon <dnsimon@openjdk.org> Date: 2023-05-16 08:50:22 +0000 URL: https://git.openjdk.org/jdk/commit/c9b6bb5bd7d5ca17825f8eb4f181fb42ca14a5d5
16-05-2023

ILW = Whitebox API method returning a wrong result, single method with JVMCI, no workaround = MLH = P4
15-05-2023