mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8150353: PPC64LE: Support RTM on linux
Reviewed-by: mdoerr, kvn
This commit is contained in:
parent
77c73b6d4f
commit
1c2427a182
5 changed files with 73 additions and 2 deletions
|
@ -56,6 +56,15 @@ class Linux {
|
|||
|
||||
static GrowableArray<int>* _cpu_to_node;
|
||||
|
||||
// 0x00000000 = uninitialized,
|
||||
// 0x01000000 = kernel version unknown,
|
||||
// otherwise a 32-bit number:
|
||||
// Ox00AABBCC
|
||||
// AA, Major Version
|
||||
// BB, Minor Version
|
||||
// CC, Fix Version
|
||||
static uint32_t _os_version;
|
||||
|
||||
protected:
|
||||
|
||||
static julong _physical_memory;
|
||||
|
@ -198,6 +207,10 @@ class Linux {
|
|||
|
||||
static jlong fast_thread_cpu_time(clockid_t clockid);
|
||||
|
||||
static void initialize_os_info();
|
||||
static bool os_version_is_known();
|
||||
static uint32_t os_version();
|
||||
|
||||
// pthread_cond clock suppport
|
||||
private:
|
||||
static pthread_condattr_t _condattr[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue