8181319: Make os::Linux::sched_getcpu() available even when UseNUMA is false

Reviewed-by: dholmes, rehn
This commit is contained in:
Per Lidén 2017-05-31 13:17:00 +02:00
parent 3e24f6d955
commit ce57b75eef
2 changed files with 15 additions and 11 deletions

View file

@ -170,6 +170,7 @@ class Linux {
static const char *libpthread_version() { return _libpthread_version; }
static void libpthread_init();
static void sched_getcpu_init();
static bool libnuma_init();
static void* libnuma_dlsym(void* handle, const char* name);
// libnuma v2 (libnuma_1.2) symbols