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

Make ConstantPool::tag_at and release_tag_at_put inlineable

XMLWordPrintable

    • b09

      JDK-8191102 moved tag_at and release_tag_at_put from constantPool.hpp to .cpp, likely because some issues with orderAccess.inline.hpp which were resolved in JDK-8204301.

      Moving these trivial methods to constantPool.inline.hpp helps inlining and measurably improves time in various startup benchmarks. Also this weeds out a few places where we still rely on implicit include of constantPool.hpp

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: