Mercurial > hg > truffle
comparison src/os_cpu/solaris_x86/vm/os_solaris_x86.hpp @ 585:22e09c0f4b47
6808589: Merge vm_version_x86_{32,64}.{cpp,hpp}
Summary: There is very much duplicated code in vm_version_x86_{32,64}.{cpp,hpp}. Refactoring these would help maintainability.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Mon, 23 Feb 2009 12:02:30 -0800 |
parents | a61af66fc99e |
children | d0994e5bebce |
comparison
equal
deleted
inserted
replaced
584:49a36a80b0c7 | 585:22e09c0f4b47 |
---|---|
1 /* | 1 /* |
2 * Copyright 1999-2004 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1999-2009 Sun Microsystems, Inc. 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. |
39 static jlong atomic_cmpxchg_long_bootstrap(jlong, volatile jlong*, jlong); | 39 static jlong atomic_cmpxchg_long_bootstrap(jlong, volatile jlong*, jlong); |
40 static jint atomic_add_bootstrap (jint, volatile jint*); | 40 static jint atomic_add_bootstrap (jint, volatile jint*); |
41 static void fence_bootstrap (); | 41 static void fence_bootstrap (); |
42 | 42 |
43 static void setup_fpu(); | 43 static void setup_fpu(); |
44 #endif // AMD64 | |
45 | |
44 static bool supports_sse(); | 46 static bool supports_sse(); |
45 #endif // AMD64 | |
46 | 47 |
47 static bool is_allocatable(size_t bytes); | 48 static bool is_allocatable(size_t bytes); |
48 | 49 |
49 // Used to register dynamic code cache area with the OS | 50 // Used to register dynamic code cache area with the OS |
50 // Note: Currently only used in 64 bit Windows implementations | 51 // Note: Currently only used in 64 bit Windows implementations |