Commit 303736b Hamlin Li
committed
1 parent 2c33629 commit 303736b Copy full SHA for 303736b
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,6 @@ void VM_Version::common_initialize() {
154
154
unaligned_access.value () != MISALIGNED_FAST);
155
155
}
156
156
157
- if (FLAG_IS_DEFAULT (AlignVector)) {
158
- FLAG_SET_DEFAULT (AlignVector, AvoidUnalignedAccesses);
159
- }
160
-
161
157
// See JDK-8026049
162
158
// This machine has fast unaligned memory accesses
163
159
if (FLAG_IS_DEFAULT (UseUnalignedAccesses)) {
@@ -440,6 +436,10 @@ void VM_Version::c2_initialize() {
440
436
warning (" AES/CTR intrinsics are not available on this CPU" );
441
437
FLAG_SET_DEFAULT (UseAESCTRIntrinsics, false );
442
438
}
439
+
440
+ if (FLAG_IS_DEFAULT (AlignVector)) {
441
+ FLAG_SET_DEFAULT (AlignVector, AvoidUnalignedAccesses);
442
+ }
443
443
}
444
444
445
445
#endif // COMPILER2
You can’t perform that action at this time.
0 commit comments