mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8058255: Native jbyte Atomic::cmpxchg for supported x86 platforms
Use the native cmpxchgb instruction on x86. Reviewed-by: dholmes, kbarrett, phh
This commit is contained in:
parent
a5d4521aa1
commit
a324ff0f31
18 changed files with 165 additions and 5 deletions
|
@ -126,6 +126,7 @@ class StubRoutines: AllStatic {
|
|||
static address _atomic_store_ptr_entry;
|
||||
static address _atomic_cmpxchg_entry;
|
||||
static address _atomic_cmpxchg_ptr_entry;
|
||||
static address _atomic_cmpxchg_byte_entry;
|
||||
static address _atomic_cmpxchg_long_entry;
|
||||
static address _atomic_add_entry;
|
||||
static address _atomic_add_ptr_entry;
|
||||
|
@ -282,6 +283,7 @@ class StubRoutines: AllStatic {
|
|||
static address atomic_store_ptr_entry() { return _atomic_store_ptr_entry; }
|
||||
static address atomic_cmpxchg_entry() { return _atomic_cmpxchg_entry; }
|
||||
static address atomic_cmpxchg_ptr_entry() { return _atomic_cmpxchg_ptr_entry; }
|
||||
static address atomic_cmpxchg_byte_entry() { return _atomic_cmpxchg_byte_entry; }
|
||||
static address atomic_cmpxchg_long_entry() { return _atomic_cmpxchg_long_entry; }
|
||||
static address atomic_add_entry() { return _atomic_add_entry; }
|
||||
static address atomic_add_ptr_entry() { return _atomic_add_ptr_entry; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue