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

Need to be able to tell JIT not to optimize certain finals.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • hotspot
    • None
    • x86, sparc
    • solaris_2.5.1, windows_95

      This is because of the System.setIn, setOut, setErr ugliness. These
      fields are static finals. If the JIT decides to optimize access to
      System.in, err, and out, then later doing a System.set* will make
      the code where the optimization was done do the wrong thing.

      See bug 4064670.

      We need a JIT API that will let the VM specify that access to
      certain final fields cannot be optimized.

      anand.palaniswamy@Eng 1998-02-27

            never Tom Rodriguez
            apalanissunw Anand Palaniswamy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: