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

C2: Unify class initialization checks between new, getstatic, and putstatic

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b24

      Backports

        Description

        C2 implements class initialization checks for new and getstatic/putstatic differently. Moreover, while "new" support fast class initialization checks, static field accesses rely on uncommon traps which may lead to deoptimization/recompilation storms during long-running class initialisation.
          

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                vlivanov Vladimir Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: