8140648: Clean up remnants of fork1() from non-solaris platforms
authorstuefe
Tue, 03 Nov 2015 19:53:10 -0500
changeset 33756 fc1eddc092e7
parent 33755 77bf4439f592
child 33757 a3ff821552b7
child 33758 aa54610a0b93
child 33763 cec2333f839c
8140648: Clean up remnants of fork1() from non-solaris platforms Summary: Clean up any remnants of fork1() from Non-Solaris platforms Reviewed-by: dholmes, goetz
hotspot/make/aix/makefiles/mapfile-vers-debug
hotspot/make/aix/makefiles/mapfile-vers-product
hotspot/make/bsd/makefiles/mapfile-vers-debug
hotspot/make/bsd/makefiles/mapfile-vers-product
hotspot/make/linux/makefiles/mapfile-vers-debug
hotspot/make/linux/makefiles/mapfile-vers-product
hotspot/src/os/linux/vm/os_linux.cpp
--- a/hotspot/make/aix/makefiles/mapfile-vers-debug	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/aix/makefiles/mapfile-vers-debug	Tue Nov 03 19:53:10 2015 -0500
@@ -39,7 +39,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/make/aix/makefiles/mapfile-vers-product	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/aix/makefiles/mapfile-vers-product	Tue Nov 03 19:53:10 2015 -0500
@@ -34,7 +34,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/make/bsd/makefiles/mapfile-vers-debug	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/bsd/makefiles/mapfile-vers-debug	Tue Nov 03 19:53:10 2015 -0500
@@ -34,7 +34,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/make/bsd/makefiles/mapfile-vers-product	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/bsd/makefiles/mapfile-vers-product	Tue Nov 03 19:53:10 2015 -0500
@@ -34,7 +34,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/make/linux/makefiles/mapfile-vers-debug	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/linux/makefiles/mapfile-vers-debug	Tue Nov 03 19:53:10 2015 -0500
@@ -34,7 +34,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/make/linux/makefiles/mapfile-vers-product	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/make/linux/makefiles/mapfile-vers-product	Tue Nov 03 19:53:10 2015 -0500
@@ -34,7 +34,6 @@
                 jio_snprintf;
                 jio_vfprintf;
                 jio_vsnprintf;
-                fork1;
                 numa_warn;
                 numa_error;
 
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Nov 04 00:59:44 2015 +0300
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Tue Nov 03 19:53:10 2015 -0500
@@ -2819,7 +2819,6 @@
 // Something to do with the numa-aware allocator needs these symbols
 extern "C" JNIEXPORT void numa_warn(int number, char *where, ...) { }
 extern "C" JNIEXPORT void numa_error(char *where) { }
-extern "C" JNIEXPORT int fork1() { return fork(); }
 
 
 // If we are running with libnuma version > 2, then we should