8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint
authorsla
Mon, 16 Dec 2013 10:34:30 +0100
changeset 22189 60fa7416465e
parent 22188 c878825ed998
child 22190 d306a75a70d3
8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint Reviewed-by: dcubed, coleenp
hotspot/make/bsd/makefiles/mapfile-vers-debug
hotspot/make/linux/makefiles/mapfile-vers-debug
hotspot/make/solaris/makefiles/mapfile-vers-debug
hotspot/src/share/vm/prims/jvm.cpp
--- a/hotspot/make/bsd/makefiles/mapfile-vers-debug	Mon Dec 16 10:57:08 2013 -0800
+++ b/hotspot/make/bsd/makefiles/mapfile-vers-debug	Mon Dec 16 10:34:30 2013 +0100
@@ -242,11 +242,6 @@
                 _JVM_Yield
                 _JVM_handle_bsd_signal
 
-                # debug _JVM
-                _JVM_AccessVMBooleanFlag
-                _JVM_AccessVMIntFlag
-                _JVM_VMBreakPoint
-
                 # miscellaneous functions
                 _jio_fprintf
                 _jio_printf
--- a/hotspot/make/linux/makefiles/mapfile-vers-debug	Mon Dec 16 10:57:08 2013 -0800
+++ b/hotspot/make/linux/makefiles/mapfile-vers-debug	Mon Dec 16 10:34:30 2013 +0100
@@ -244,11 +244,6 @@
                 JVM_Yield;
                 JVM_handle_linux_signal;
 
-                # debug JVM
-                JVM_AccessVMBooleanFlag;
-                JVM_AccessVMIntFlag;
-                JVM_VMBreakPoint;
-
                 # miscellaneous functions
                 jio_fprintf;
                 jio_printf;
--- a/hotspot/make/solaris/makefiles/mapfile-vers-debug	Mon Dec 16 10:57:08 2013 -0800
+++ b/hotspot/make/solaris/makefiles/mapfile-vers-debug	Mon Dec 16 10:34:30 2013 +0100
@@ -28,10 +28,6 @@
 
 SUNWprivate_1.1 {
         global:
-		# debug JVM
-		JVM_AccessVMBooleanFlag;
-		JVM_AccessVMIntFlag;
-		JVM_VMBreakPoint;
 
 		# miscellaneous
 };
--- a/hotspot/src/share/vm/prims/jvm.cpp	Mon Dec 16 10:57:08 2013 -0800
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Mon Dec 16 10:34:30 2013 +0100
@@ -3971,40 +3971,6 @@
 }
 
 
-// Internal SQE debugging support ///////////////////////////////////////////////////////////
-
-#ifndef PRODUCT
-
-extern "C" {
-  JNIEXPORT jboolean JNICALL JVM_AccessVMBooleanFlag(const char* name, jboolean* value, jboolean is_get);
-  JNIEXPORT jboolean JNICALL JVM_AccessVMIntFlag(const char* name, jint* value, jboolean is_get);
-  JNIEXPORT void JNICALL JVM_VMBreakPoint(JNIEnv *env, jobject obj);
-}
-
-JVM_LEAF(jboolean, JVM_AccessVMBooleanFlag(const char* name, jboolean* value, jboolean is_get))
-  JVMWrapper("JVM_AccessBoolVMFlag");
-  return is_get ? CommandLineFlags::boolAt((char*) name, (bool*) value) : CommandLineFlags::boolAtPut((char*) name, (bool*) value, Flag::INTERNAL);
-JVM_END
-
-JVM_LEAF(jboolean, JVM_AccessVMIntFlag(const char* name, jint* value, jboolean is_get))
-  JVMWrapper("JVM_AccessVMIntFlag");
-  intx v;
-  jboolean result = is_get ? CommandLineFlags::intxAt((char*) name, &v) : CommandLineFlags::intxAtPut((char*) name, &v, Flag::INTERNAL);
-  *value = (jint)v;
-  return result;
-JVM_END
-
-
-JVM_ENTRY(void, JVM_VMBreakPoint(JNIEnv *env, jobject obj))
-  JVMWrapper("JVM_VMBreakPoint");
-  oop the_obj = JNIHandles::resolve(obj);
-  BREAKPOINT;
-JVM_END
-
-
-#endif
-
-
 // Method ///////////////////////////////////////////////////////////////////////////////////////////
 
 JVM_ENTRY(jobject, JVM_InvokeMethod(JNIEnv *env, jobject method, jobject obj, jobjectArray args0))