8150353: PPC64LE: Support RTM on linux

Reviewed-by: mdoerr, kvn
This commit is contained in:
Gustavo Romero 2016-03-07 10:03:06 -03:00 committed by Vladimir Kozlov
parent 77c73b6d4f
commit 1c2427a182
5 changed files with 73 additions and 2 deletions

View file

@ -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];