-
Bug
-
Resolution: Fixed
-
P2
-
20
-
b15
-
Verified
The following build failure was observed when C2 was disabled by --with-jvm-features=-compiler2.
```
* For target hotspot_variant-server_libjvm_objs_stubGenerator_x86_64_arraycopy.o:
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'u_char* StubGenerator::generate_disjoint_copy_avx3_masked(u_char**, const char*, int, bool, bool, bool)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:403:27: error: 'MaxVectorSize' was not declared in this scope
bool use64byteVector = (MaxVectorSize > 32) && (avx3threshold == 0);
^~~~~~~~~~~~~
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'u_char* StubGenerator::generate_conjoint_copy_avx3_masked(u_char**, const char*, int, address, bool, bool, bool)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:624:27: error: 'MaxVectorSize' was not declared in this scope
bool use64byteVector = (MaxVectorSize > 32) && (avx3threshold == 0);
^~~~~~~~~~~~~
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'void StubGenerator::arraycopy_avx3_special_cases_conjoint(XMMRegister, KRegister, Register, Register, Register, Register, Register, int, Register, bool, Label&, Label&)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:860:16: error: 'MaxVectorSize' was not declared in this scope
bool avx3 = (MaxVectorSize > 32) && (VM_Version::avx3_threshold() == 0);
^~~~~~~~~~~~~
In file included from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/utilities/globalDefinitions.hpp:29,
from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/memory/allocation.hpp:29,
from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/memory/arena.hpp:28,
... (rest of output omitted)
```
```
* For target hotspot_variant-server_libjvm_objs_stubGenerator_x86_64_arraycopy.o:
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'u_char* StubGenerator::generate_disjoint_copy_avx3_masked(u_char**, const char*, int, bool, bool, bool)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:403:27: error: 'MaxVectorSize' was not declared in this scope
bool use64byteVector = (MaxVectorSize > 32) && (avx3threshold == 0);
^~~~~~~~~~~~~
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'u_char* StubGenerator::generate_conjoint_copy_avx3_masked(u_char**, const char*, int, address, bool, bool, bool)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:624:27: error: 'MaxVectorSize' was not declared in this scope
bool use64byteVector = (MaxVectorSize > 32) && (avx3threshold == 0);
^~~~~~~~~~~~~
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp: In member function 'void StubGenerator::arraycopy_avx3_special_cases_conjoint(XMMRegister, KRegister, Register, Register, Register, Register, Register, int, Register, bool, Label&, Label&)':
/home/jvm/jiefu/docker/jdk-907/src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp:860:16: error: 'MaxVectorSize' was not declared in this scope
bool avx3 = (MaxVectorSize > 32) && (VM_Version::avx3_threshold() == 0);
^~~~~~~~~~~~~
In file included from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/utilities/globalDefinitions.hpp:29,
from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/memory/allocation.hpp:29,
from /home/jvm/jiefu/docker/jdk-907/src/hotspot/share/memory/arena.hpp:28,
... (rest of output omitted)
```
- relates to
-
JDK-8293254 x86_64: Extract arraycopy stub implementations into a separate file
-
- Resolved
-