hotspot/src/os/linux/vm/os_linux.cpp
changeset 975 ad7da100aa6a
parent 745 47129a5cacd3
child 977 b90650e2a9f7
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Fri Jul 11 16:11:50 2008 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Mon Jul 14 04:12:47 2008 -0700
@@ -2278,7 +2278,7 @@
                                   dlsym(RTLD_DEFAULT, "sched_getcpu")));
 
   if (sched_getcpu() != -1) { // Does it work?
-    void *handle = dlopen("libnuma.so", RTLD_LAZY);
+    void *handle = dlopen("libnuma.so.1", RTLD_LAZY);
     if (handle != NULL) {
       set_numa_node_to_cpus(CAST_TO_FN_PTR(numa_node_to_cpus_func_t,
                                            dlsym(handle, "numa_node_to_cpus")));