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

HotSpot Style Guide should permit alignas

    XMLWordPrintable

Details

    • b26

    Description

      Add alignas to the permitted features set, but only for variables, not for classes. Classes have the problem that dynamic allocation is unaware of alignment restrictions. (That's fixed in C++17. Though we might be able to add it ourselves for our allocators.)

      Attachments

        Issue Links

          Activity

            People

              jwaters Julian Waters
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: