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

MemoryAcccess methods are missing @ForceInline annotations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      Static helpers in MemoryAccess do not have @ForceInline. As a result, when client code packs a lot of static accessors in a single, hot method, performances deteriorates, as C2 refuses to inline the static accessors.

      The same problem cannot be reproduced with plain var handle access.

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: