@@ -56,20 +56,6 @@ extern "C" {
5656 * namely the jio_xxxprintf functions, are included from jvm_io.h.
5757 */
5858
59- /*
60- * Bump the version number when either of the following happens:
61- *
62- * 1. There is a change in JVM_* functions.
63- *
64- * 2. There is a change in the contract between VM and Java classes.
65- * For example, if the VM relies on a new private field in Thread
66- * class.
67- */
68-
69- #define JVM_INTERFACE_VERSION 6
70-
71- JNIEXPORT jint JNICALL
72- JVM_GetInterfaceVersion (void );
7359
7460/* ************************************************************************
7561 PART 1: Functions for Native Libraries
@@ -761,80 +747,6 @@ JVM_AssertionStatusDirectives(JNIEnv *env, jclass unused);
761747JNIEXPORT jboolean JNICALL
762748JVM_SupportsCX8 (void );
763749
764- /*
765- * com.sun.dtrace.jsdt support
766- */
767-
768- #define JVM_TRACING_DTRACE_VERSION 1
769-
770- /*
771- * Structure to pass one probe description to JVM
772- */
773- typedef struct {
774- jmethodID method;
775- jstring function;
776- jstring name;
777- void * reserved[4 ]; // for future use
778- } JVM_DTraceProbe;
779-
780- /* *
781- * Encapsulates the stability ratings for a DTrace provider field
782- */
783- typedef struct {
784- jint nameStability;
785- jint dataStability;
786- jint dependencyClass;
787- } JVM_DTraceInterfaceAttributes;
788-
789- /*
790- * Structure to pass one provider description to JVM
791- */
792- typedef struct {
793- jstring name;
794- JVM_DTraceProbe* probes;
795- jint probe_count;
796- JVM_DTraceInterfaceAttributes providerAttributes;
797- JVM_DTraceInterfaceAttributes moduleAttributes;
798- JVM_DTraceInterfaceAttributes functionAttributes;
799- JVM_DTraceInterfaceAttributes nameAttributes;
800- JVM_DTraceInterfaceAttributes argsAttributes;
801- void * reserved[4 ]; // for future use
802- } JVM_DTraceProvider;
803-
804- /*
805- * Get the version number the JVM was built with
806- */
807- JNIEXPORT jint JNICALL
808- JVM_DTraceGetVersion (JNIEnv* env);
809-
810- /*
811- * Register new probe with given signature, return global handle
812- *
813- * The version passed in is the version that the library code was
814- * built with.
815- */
816- JNIEXPORT jlong JNICALL
817- JVM_DTraceActivate (JNIEnv* env, jint version, jstring module_name,
818- jint providers_count, JVM_DTraceProvider* providers);
819-
820- /*
821- * Check JSDT probe
822- */
823- JNIEXPORT jboolean JNICALL
824- JVM_DTraceIsProbeEnabled (JNIEnv* env, jmethodID method);
825-
826- /*
827- * Destroy custom DOF
828- */
829- JNIEXPORT void JNICALL
830- JVM_DTraceDispose (JNIEnv* env, jlong activation_handle);
831-
832- /*
833- * Check to see if DTrace is supported by OS
834- */
835- JNIEXPORT jboolean JNICALL
836- JVM_DTraceIsSupported (JNIEnv* env);
837-
838750/* ************************************************************************
839751 PART 2: Support for the Verifier and Class File Format Checker
840752 ************************************************************************/
0 commit comments