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

Redundant class init check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs25
    • hs25
    • hotspot
    • b47

        The intrinsic that generates the code for sun.misc.Unsafe.allocateInstance always puts a initialized check on the class. When the class is known (constant) this check is redundant and should be avoided.

              rbackman Rickard Backman (Inactive)
              rbackman Rickard Backman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: