Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234963 Thread.getStackTrace is slow with clang
  3. JDK-8243470

[macos] bring back O2 opt level for unsafe.cpp

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      x86_64
    • OS:
      os_x

      Backports

        Description

         Long time ago when moving build system for macos from gcc to clang it was decided to lower opt level for unsafe.cpp from O2 to O1 due to some compiler bugs. It seems clang8+ doesn't have the issue anymore. O2 opt level greately improves getStackTrace performance

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vkempik Vladimir Kempik
                Reporter:
                vkempik Vladimir Kempik
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: