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

Big object literal with numerical keys exceeds method size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • None
    • b103
    • generic
    • generic

      JDK-8017084 has helped improve performance and code size for object literal allocation, but this does not work for numerical keys which are stored in arraydata instead of spill.

      The attached big object literal still causes java.lang.RuntimeException: Method code too large.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: