equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2009 Red Hat, Inc. |
3 * Copyright 2009 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
28 #include "memory/resourceArea.hpp" |
28 #include "memory/resourceArea.hpp" |
29 #include "runtime/java.hpp" |
29 #include "runtime/java.hpp" |
30 #include "runtime/stubCodeGenerator.hpp" |
30 #include "runtime/stubCodeGenerator.hpp" |
31 #include "vm_version_zero.hpp" |
31 #include "vm_version_zero.hpp" |
32 |
32 |
33 // This file is intentionally empty |
33 |
|
34 void VM_Version::initialize() { |
|
35 // This machine does not allow unaligned memory accesses |
|
36 if (! FLAG_IS_DEFAULT(UseUnalignedAccesses)) { |
|
37 warning("Unaligned memory access is not available on this CPU"); |
|
38 FLAG_SET_DEFAULT(UseUnalignedAccesses, false); |
|
39 } |
|
40 } |