equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
44 name.machine[4] >= '5' && name.machine[4] <= '9') { |
44 name.machine[4] >= '5' && name.machine[4] <= '9') { |
45 _arm_arch = (int)(name.machine[4] - '0'); |
45 _arm_arch = (int)(name.machine[4] - '0'); |
46 } |
46 } |
47 } |
47 } |
48 |
48 |
49 // Make sure that _arm_arch is initialized so that any calls to OrderAccess will |
|
50 // use proper dmb instruction |
|
51 void VM_Version::early_initialize() { |
|
52 get_os_cpu_info(); |
|
53 } |
|