equal
deleted
inserted
replaced
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 |