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

Reuse the same byte code slot for the same variable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 9
    • core-libs
    • None

      Static type calculation doesn't reuse the slot number for different types / live ranges for the same variable

      For example

      x int L0 L1 slot = 0
      x Object L2 L3 slot = 1

      We should probably reuse the slot number if we can.

            attila Attila Szegedi
            lagergren Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: