Mercurial > hg > truffle
diff src/os/solaris/vm/os_solaris.cpp @ 267:9d6a3a6891f8
6720130: NUMA allocator: The linux version should search for libnuma.so.1
Summary: Search for libnuma.so.1 on Linux and liblgrp.so.1 on Solaris.
Reviewed-by: jmasa
author | iveresov |
---|---|
date | Mon, 14 Jul 2008 04:12:47 -0700 |
parents | e3729351c946 |
children | d6340ab4105b |
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp Fri Jul 11 16:11:50 2008 -0700 +++ b/src/os/solaris/vm/os_solaris.cpp Mon Jul 14 04:12:47 2008 -0700 @@ -4570,7 +4570,7 @@ } void os::Solaris::liblgrp_init() { - void *handle = dlopen("liblgrp.so", RTLD_LAZY); + void *handle = dlopen("liblgrp.so.1", RTLD_LAZY); if (handle != NULL) { os::Solaris::set_lgrp_home(CAST_TO_FN_PTR(lgrp_home_func_t, dlsym(handle, "lgrp_home"))); os::Solaris::set_lgrp_init(CAST_TO_FN_PTR(lgrp_init_func_t, dlsym(handle, "lgrp_init")));