hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp
changeset 30209 8ea30dc99369
parent 29183 0cc8699f7372
child 30225 e9722ea461d4
--- a/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp	Fri Mar 27 08:58:45 2015 +0100
+++ b/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp	Tue Mar 31 12:31:18 2015 -0700
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2014, Red Hat Inc. All rights reserved.
+ * Copyright (c) 2015, Red Hat Inc. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -193,6 +193,11 @@
     }
   }
 
+  // This machine allows unaligned memory accesses
+  if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
+    FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
+  }
+
 #ifdef COMPILER2
   if (FLAG_IS_DEFAULT(OptoScheduling)) {
     OptoScheduling = true;