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

    • b03
    • x86_64
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: