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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: