Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P3
    • Resolution: Withdrawn
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot

      Description

      In this release, a number of VM interfaces have been removed, either because the JDK was not using them anymore or because the service they provided was also available in JDK native libraries. The removed VM interfaces are listed below:
      ```
      void JVM_OnExit(void (*func)(void);
      void JVM_Exit(jint code);
      void JVM_TraceInstructions(jboolean on);
      void JVM_TraceMethodCalls(jboolean on);
      jboolean JVM_IsNaN(jdouble d);
      void JVM_InitializeCompiler(JNIEnv *env, jclass compCls);
      jboolean JVM_IsSilentCompiler(JNIEnv *env, jclass compCls);
      jboolean JVM_CompileClass(JNIEnv *env, jclass compCls, jclass cls);
      jboolean JVM_CompileClasses(JNIEnv *env, jclass cls, jstring jname);
      jobject JVM_CompilerCommand(JNIEnv *env, jclass compCls, jobject arg);
      void JVM_EnableCompiler(JNIEnv *env, jclass compCls);
      void JVM_DisableCompiler(JNIEnv *env, jclass compCls);
      jobject JVM_AllocateNewObject(JNIEnv *env, jobject obj, jclass currClass, jclass initClass);
      jobject JVM_AllocateNewArray(JNIEnv *env, jobject obj, jclass currClass, jint length);
      jclass JVM_LoadClass0(JNIEnv *env, jobject obj, jclass currClass, jstring currClassName);
      void JVM_ResolveClass(JNIEnv *env, jclass cls);
      jbyteArray JVM_GetFieldAnnotations(JNIEnv *env, jobject field);
      jbyteArray JVM_GetMethodAnnotations(JNIEnv *env, jobject method);
      jbyteArray JVM_GetMethodDefaultAnnotationValue(JNIEnv *env, jobject method);
      jbyteArray JVM_GetMethodParameterAnnotations(JNIEnv *env, jobject method);
      jboolean JVM_CX8Field(JNIEnv *env, jobject obj, jfieldID fldID, jlong oldVal, jlong newVal);
      jint JVM_GetLastErrorString(char *buf, int len);
      jint JVM_Open(const char *fname, jint flags, jint mode);
      jint JVM_Close(jint fd);
      jint JVM_Read(jint fd, char *buf, jint nbytes);
      jint JVM_Write(jint fd, char *buf, jint nbytes);
      jint JVM_Available(jint fd, jlong *pbytes);
      jlong JVM_Lseek(jint fd, jlong offset, jint whence);
      jint JVM_SetLength(jint fd, jlong length);
      jint JVM_Sync(jint fd);
      jint JVM_InitializeSocketLibrary(void);
      jint JVM_Socket(jint domain, jint type, jint protocol);
      jint JVM_SocketClose(jint fd);
      jint JVM_SocketShutdown(jint fd, jint howto);
      jint JVM_Recv(jint fd, char *buf, jint nBytes, jint flags);
      jint JVM_Send(jint fd, char *buf, jint nBytes, jint flags);
      jint JVM_Timeout(int fd, long timeout);
      jint JVM_Listen(jint fd, jint count);
      jint JVM_Connect(jint fd, struct sockaddr *him, jint len);
      jint JVM_Bind(jint fd, struct sockaddr *him, jint len);
      jint JVM_Accept(jint fd, struct sockaddr *him, jint *len);
      jint JVM_RecvFrom(jint fd, char *buf, int nBytes, int flags, struct sockaddr *from, int *fromlen);
      jint JVM_GetSockName(jint fd, struct sockaddr *him, int *len);
      jint JVM_GetSockOpt(jint fd, int level, int optname, char *optval, int *optlen);
      jint JVM_SetSockOpt(jint fd, int level, int optname, const char *optval, int optlen);
      int JVM_GetHostName(char* name, int namelen);
      jintArray JVM_GetThreadStateValues(JNIEnv* env, jint javaThreadState);
      jobjectArray JVM_GetThreadStateNames(JNIEnv* env, jint javaThreadState, jintArray values);

        Attachments

          Activity

            People

            • Assignee:
              fparain Frederic Parain
              Reporter:
              mlautman Mary Lautman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: