RFR: 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env

Doug Simon dnsimon at openjdk.org
Mon May 15 07:12:43 UTC 2023


On Sat, 13 May 2023 19:09:46 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> 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).

It's very hard to test as this is part of test setup. Also, you need libgraal to really test it properly and that's not (yet) part of the JDK.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13971#issuecomment-1547306285


More information about the hotspot-dev mailing list