RFR: 8297933: [REDO] Compiler should only use verified interface types for optimization [v2]

Roland Westrelin roland at openjdk.org
Thu Dec 15 08:35:06 UTC 2022


On Thu, 15 Dec 2022 00:27:01 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> FTR, I discussed this privately with Tobias. His concern is that the test would not be run if not passed `-XX:+UseParallelGC`. That doesn't seem to be an issue though as the test runs as expected when passed no option or `-XX:+UseParallelGC` and doesn't run with a command line option that enables some other gc.
>
> Yes, it is correct way when you need to specify GC.

Which is the correct way? `@requires vm.gc == null | vm.gc.Parallel` or `@requires vm.gc.Parallel`?

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

PR: https://git.openjdk.org/jdk/pull/11666


More information about the hotspot-compiler-dev mailing list