Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4180611

(porting) Modified jni.c to support a -(no)jit option & define N_TRACED_REGS

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the OpenVMS platform running on DIGITAL's
      hardware, DIGITAL has changed, the following JDK 116 source file
      in the shared part of the JDK.

      diff -c -r JDK116/src/share/java/runtime/jni.c
      sun_JDK116/src/share/java/runtime/jni.c
      *** JDK116/src/share/java/runtime/jni.c Thu Apr 30 03:58:02 1998
      --- sun_JDK116/src/share/java/runtime/jni.c Thu Apr 16 13:50:06 1998

      ***************
      *** 2806,2814 ****
        /*
         * N_TRACED_REGS is not necessary on the Solaris platform.
         */
      ! /*** HDS make sure N_TRACED_REGS is defined #ifndef N_TRACED_REGS
      ! *** #define N_TRACED_REGS 1
      ! *** #endif ***/
        
        #define ENTER_NATIVE_FRAME jint regs[N_TRACED_REGS]; --- 2803,2811 ----
        /*
         * N_TRACED_REGS is not necessary on the Solaris platform.
         */
      ! #ifndef N_TRACED_REGS
      ! #define N_TRACED_REGS 1
      ! #endif
        
        #define ENTER_NATIVE_FRAME jint regs[N_TRACED_REGS]; ***************
      *** 3953,3962 ****
        
            verbosegc = args->enableVerboseGC;
        
      - #ifdef JIT_OPTION
      - enableJIT = args->enableJIT; /*** cds - add -[no]jit ***/
      - #endif /*** JIT_OPTION ***/
      -
            SkipSourceChecks = !(args->checkSource);
        
            if (args->nativeStackSize >= 1000)
      --- 3950,3955 ----

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jbenoit Jonathan Benoit (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: