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

Document the effects of building with _GNU_SOURCE in os_posix.hpp

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      Add the following:

      // Note: the Posix API aims to capture functionality available on all Posix compliant
      // platforms, but in practice the implementations may depend on non-Posix
      // functionality. For example, the use of lseek64 and ftruncate64. This use
      // of non-Posix API's is made possible by compiling/linking in a mode that
      // is not restricted to being fully Posix complaint, such as by declaring
      // -D_GNU_SOURCE. But be aware that in doing so we may enable non-Posix
      // behaviour in API's that are defined by Posix. For example, that SIGSTKSZ
      // is not defined as a constant as of Glibc 2.34.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dholmes David Holmes
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: