RFR: 8293497: Build failure due to MaxVectorSize was not declared when C2 is disabled after JDK-8293254

Dean Long dlong at openjdk.org
Wed Sep 7 22:35:43 UTC 2022


On Wed, 7 Sep 2022 15:59:20 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> Please review this trivial fix which fixes the build failure when C2 is disabled due to the definition of `MaxVectorSize` is missing.
> 
> Thanks.
> Best regards,
> Jie

Changes requested by dlong (Reviewer).

src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp line 38:

> 36: #if INCLUDE_JVMCI
> 37: #include "jvmci/jvmci_globals.hpp"
> 38: #endif

Shouldn't that be "utilities/macros.hpp" to pick up the COMPILER2_OR_JVMCI macro?

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

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


More information about the hotspot-compiler-dev mailing list