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

libsaproc is being compiled without optimization

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • OS:
      linux

      Backports

        Description

        In make/lib/Lib-jdk.hotspot.agent.gmk I see this around line 52:

        $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
            NAME := saproc, \
            OPTIMIZATION := NONE, \
            DISABLED_WARNINGS_microsoft := 4267, \
            DISABLED_WARNINGS_gcc := sign-compare, \

        That is, libsaproc.so will get compiled without optimization at all. Setting OPTIMIZATION := LOW and running hotspot serviceability tests does not show new failures. We should consider increasing the OPT level.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sgehwolf Severin Gehwolf
                  Reporter:
                  sgehwolf Severin Gehwolf
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: