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

(porting) shared code mods for Digital Alpha Window NT platform

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the Digital Alpha Window NT platform running on
      Digital's Alpha hardware, Digital has changed, for the reasons listed
      below, the following JDK 116 source files in the shared part of the JDK.

      Compatibility of the changes with Sun's JDK was assured by visual
      inspection of the changes and by running the appropriate JCK test suites.
      No changes were made to modify any APIs nor to modify the virtual machine
      instruction set.

      The following files were modified so that linking would work properly
      between the JVM and DEC's Just-In-Time compiler:

      diff -r digital_src\src\share\java\include\interpreter.h
      javasoft_src\src\share\java\include\interpreter.h
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      269,274d267
      < /*** HDS add DllExport and __cplusplus so JIT can find SignalError ***/
      < #define DllExport __declspec(dllexport)
      < #ifdef __cplusplus
      < extern "C" {
      < #endif
      < DllExport
      276,278c269
      < #ifdef __cplusplus
      < }
      < #endif
      ---
      >
      449,453d439
      < /*** HDS - add __cplusplus and DllExport so JIT can find it ***/
      < #ifdef __cplusplus
      < extern "C" {
      < #endif
      < DllExport
      455,457d440
      < #ifdef __cplusplus
      < }
      < #endif

      diff -r digital_src\src\share\java\include\monitor.h
      javasoft_src\src\share\java\include\monitor.h
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      123,129c122
      < /*** HDS - add DllImport/DllExport so JIT can find it ***/
      < #ifdef SUNJIT
      < #define DllImport __declspec( dllimport )
      < DllImport extern sys_mon_t * _binclass_lock;
      < #else
      < DllExport extern sys_mon_t *_binclass_lock;
      < #endif
      ---
      > extern sys_mon_t *_binclass_lock;
      145,150c138,139
      < /*** HDS - add DllImport/DllExport so the JIT can find it ***/
      < #ifdef SUNJIT
      < DllImport extern sys_mon_t * _nametypehash_lock;
      < #else
      < DllExport extern sys_mon_t *_nametypehash_lock;
      < #endif
      ---
      >
      > extern sys_mon_t *_nametypehash_lock;

      diff -r digital_src\src\share\java\include\sys_api.h
      javasoft_src\src\share\java\include\sys_api.h
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      129,131d127
      < /*** HDS - use DllExport to export symbols so the JIT can find them ***/
      < #define DllExport __declspec(dllexport)
      <
      135c131
      < DllExport int sysMonitorEnter(sys_mon_t *);
      ---
      > int sysMonitorEnter(sys_mon_t *);
      137c133
      < DllExport int sysMonitorExit(sys_mon_t *);
      ---
      > int sysMonitorExit(sys_mon_t *);


      diff -r digital_src\src\share\java\runtime\classinitialize.c
      javasoft_src\src\share\java\runtime\classinitialize.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      51c50
      < DllExport sys_mon_t *_nametypehash_lock; /*** HDS add DllExport for JIT
      ***/
      ---
      > sys_mon_t *_nametypehash_lock;


      diff -r digital_src\src\share\java\runtime\classresolver.c
      javasoft_src\src\share\java\runtime\classresolver.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      91c90
      < DllExport sys_mon_t *_binclass_lock; /*** HDS add DllExport ***/
      ---
      > sys_mon_t *_binclass_lock;
      431c430
      < /*** HDS bad assert, see JCK test clfsup00602:
      sysAssert(!isInterface
      || super_itable_count == 0); ***/
      ---
      > sysAssert(!isInterface || super_itable_count == 0);
      505c504
      < DllExport char * /*** HDS add DllExport ***/
      ---
      > char *

      diff -r digital_src\src\share\java\runtime\classruntime.c
      javasoft_src\src\share\java\runtime\classruntime.c
      772c771
      < DllExport void /*** HDS add DllExport ***/
      ---
      > void
       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: