mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
6822204: volatile fences should prefer lock:addl to actual mfence instructions
Reviewed-by: kvn, phh
This commit is contained in:
parent
a5396e1107
commit
134debb0ba
20 changed files with 81 additions and 183 deletions
|
@ -29,13 +29,11 @@
|
|||
static jint (*atomic_cmpxchg_func) (jint, volatile jint*, jint);
|
||||
static jlong (*atomic_cmpxchg_long_func)(jlong, volatile jlong*, jlong);
|
||||
static jint (*atomic_add_func) (jint, volatile jint*);
|
||||
static void (*fence_func) ();
|
||||
|
||||
static jint atomic_xchg_bootstrap (jint, volatile jint*);
|
||||
static jint atomic_cmpxchg_bootstrap (jint, volatile jint*, jint);
|
||||
static jlong atomic_cmpxchg_long_bootstrap(jlong, volatile jlong*, jlong);
|
||||
static jint atomic_add_bootstrap (jint, volatile jint*);
|
||||
static void fence_bootstrap ();
|
||||
|
||||
static void setup_fpu() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue