Commit a24b08f Hamlin Li
committed
1 parent 25d9deb commit a24b08f Copy full SHA for a24b08f
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)) {
@@ -448,6 +444,10 @@ void VM_Version::c2_initialize() {
448
444
warning (" AES/CTR intrinsics are not available on this CPU" );
449
445
FLAG_SET_DEFAULT (UseAESCTRIntrinsics, false );
450
446
}
447
+
448
+ if (FLAG_IS_DEFAULT (AlignVector)) {
449
+ FLAG_SET_DEFAULT (AlignVector, AvoidUnalignedAccesses);
450
+ }
451
451
}
452
452
453
453
#endif // COMPILER2
You can’t perform that action at this time.
0 commit comments