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

(porting) Certain Alpha machines cannot atomically access bytes from memory

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      For the JDK 116 release on the DIGITAL UNIX 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.

      - Certain Alpha machines cannot atomically access bytes from memory.
      The following files were modified because of differences in the Alpha
      hardware on which DIGITAL UNIX runs:

          src/share/java/include/alloc_cache.h

      Diffs:
      ======
      diff -r digital_src/src/share/java/include/alloc_cache.h javasoft_src/src/share/java/include/alloc_cache.h
      1,2d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      <
      37,38c35,36
      < volatile int cache_busy; /*** HDS was char ***/
      < int cache_pad; /*** HDS was char[3] ***/
      ---
      > volatile char cache_busy;
      > char cache_pad[3];

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: