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

Revisit need to disable Windows C++ compiler optimisation of sharedRuntimeTrans.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P5
    • tbd
    • 9
    • hotspot
    • None
    • x86
    • windows

    Description

      Either the VS2003 compilers used for 32 bit or the April 2005 SDK 64 bit compiler
      used for 64 bit JDK apparently had a bug requiring this pragma :

      // Enabling optimizations in this file causes incorrect code to be
      // generated; can not figure out how to turn down optimization for one
      // file in the IDE on Windows
      #ifdef WIN32
      # pragma optimize ( "", off )
      #endif


      For JDK 9 & higher built with VS2010 & higher we should reexamine the need for this #pragma and remove this deoptimization.

      Attachments

        Issue Links

          Activity

            People

              rraghavan Rahul Raghavan
              lfoltan Lois Foltan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: