mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
This commit is contained in:
parent
680ecf1611
commit
4a831d45f0
273 changed files with 6585 additions and 2993 deletions
|
@ -55,7 +55,10 @@ class Atomic : AllStatic {
|
|||
static void dec_ptr(volatile void* dest);
|
||||
|
||||
// Performs atomic exchange of *dest with exchange_value. Returns old prior value of *dest.
|
||||
static jint xchg (jint exchange_value, volatile jint* dest);
|
||||
static jint xchg(jint exchange_value, volatile jint* dest);
|
||||
static unsigned int xchg(unsigned int exchange_value,
|
||||
volatile unsigned int* dest);
|
||||
|
||||
static intptr_t xchg_ptr(intptr_t exchange_value, volatile intptr_t* dest);
|
||||
static void* xchg_ptr(void* exchange_value, volatile void* dest);
|
||||
|
||||
|
@ -65,6 +68,11 @@ class Atomic : AllStatic {
|
|||
static jbyte cmpxchg (jbyte exchange_value, volatile jbyte* dest, jbyte compare_value);
|
||||
static jint cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value);
|
||||
static jlong cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value);
|
||||
|
||||
static unsigned int cmpxchg(unsigned int exchange_value,
|
||||
volatile unsigned int* dest,
|
||||
unsigned int compare_value);
|
||||
|
||||
static intptr_t cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value);
|
||||
static void* cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue