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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • 13
    • hotspot
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: