8046607: Code cleanup: PerfMemory::backing_store_filename() should be removed
Summary: Summary: Removed PerfMemory::backing_store_filename() API since it is not used anywhere.
Reviewed-by: sla, hseigel
--- a/hotspot/src/os/aix/vm/perfMemory_aix.cpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/os/aix/vm/perfMemory_aix.cpp Fri Oct 03 13:56:18 2014 -0700
@@ -1020,7 +1020,3 @@
unmap_shared(addr, bytes);
}
-
-char* PerfMemory::backing_store_filename() {
- return backing_store_file_name;
-}
--- a/hotspot/src/os/bsd/vm/perfMemory_bsd.cpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/os/bsd/vm/perfMemory_bsd.cpp Fri Oct 03 13:56:18 2014 -0700
@@ -1043,7 +1043,3 @@
unmap_shared(addr, bytes);
}
-
-char* PerfMemory::backing_store_filename() {
- return backing_store_file_name;
-}
--- a/hotspot/src/os/linux/vm/perfMemory_linux.cpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/os/linux/vm/perfMemory_linux.cpp Fri Oct 03 13:56:18 2014 -0700
@@ -1049,7 +1049,3 @@
unmap_shared(addr, bytes);
}
-
-char* PerfMemory::backing_store_filename() {
- return backing_store_file_name;
-}
--- a/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp Fri Oct 03 13:56:18 2014 -0700
@@ -1068,7 +1068,3 @@
unmap_shared(addr, bytes);
}
-
-char* PerfMemory::backing_store_filename() {
- return backing_store_file_name;
-}
--- a/hotspot/src/os/windows/vm/perfMemory_windows.cpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/os/windows/vm/perfMemory_windows.cpp Fri Oct 03 13:56:18 2014 -0700
@@ -1846,7 +1846,3 @@
remove_file_mapping(addr);
}
}
-
-char* PerfMemory::backing_store_filename() {
- return sharedmem_fileName;
-}
--- a/hotspot/src/share/vm/runtime/perfMemory.hpp Fri Oct 03 15:41:56 2014 -0500
+++ b/hotspot/src/share/vm/runtime/perfMemory.hpp Fri Oct 03 13:56:18 2014 -0700
@@ -155,9 +155,6 @@
}
}
- // filename of backing store or NULL if none.
- static char* backing_store_filename();
-
// returns the complete file path of hsperfdata.
// the caller is expected to free the allocated memory.
static char* get_perfdata_file_path();